Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001407, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.211/2.211, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.783/3.783, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004657, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9163, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001387/0.9178, allocations: 0.5227 MB / 0.9814 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.9179, allocations: 39.78 kB / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.918, allocations: 4 kB / 0.9814 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.918, allocations: 7.922 kB / 0.9814 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.9182, allocations: 4 kB / 0.9814 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.032e-05/0.9182, allocations: 12 kB / 0.9814 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.9184, allocations: 43.89 kB / 0.9815 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.9186, allocations: 24.16 kB / 0.9815 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.9187, allocations: 23.86 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.9188, allocations: 15.88 kB / 0.9815 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.9188, allocations: 0 / 0.9815 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.9188, allocations: 11.94 kB / 0.9816 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.9189, allocations: 7.922 kB / 0.9816 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.9189, allocations: 37.64 kB / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.919, allocations: 58.12 kB / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.919, allocations: 0 / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.737e-06/0.919, allocations: 0 / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9191, allocations: 0 / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006581/0.9197, allocations: 367 kB / 0.982 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.9198, allocations: 8.031 kB / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.9198, allocations: 46.55 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.9199, allocations: 7.906 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.9202, allocations: 194.8 kB / 0.9822 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.9202, allocations: 4 kB / 0.9823 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.9202, allocations: 12 kB / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.9204, allocations: 100.3 kB / 0.9824 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9205, allocations: 0 / 0.9824 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.9205, allocations: 4 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.9205, allocations: 8 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.394e-05/0.9206, allocations: 31.92 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.9213, allocations: 436.7 kB / 0.9828 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.9214, allocations: 41.25 kB / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.9214, allocations: 0 / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.9215, allocations: 38.55 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9215, allocations: 0 / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.9217, allocations: 49.61 kB / 0.9829 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.9218, allocations: 85.06 kB / 0.983 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.922, allocations: 168.9 kB / 0.9832 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.922, allocations: 33.7 kB / 0.9832 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.9221, allocations: 100 kB / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.9221, allocations: 7.844 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.9221, allocations: 0 / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9223, allocations: 322.8 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.9223, allocations: 4 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.9224, allocations: 17.72 kB / 0.9836 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.9224, allocations: 15.94 kB / 0.9837 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9224, allocations: 0 / 0.9837 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.9225, allocations: 57.59 kB / 0.9837 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9226, allocations: 4 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9226, allocations: 4 kB / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9226, allocations: 0 / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.9227, allocations: 11.88 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9227, allocations: 7.938 kB / 0.9837 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.9228, allocations: 8.062 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.9228, allocations: 3.938 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.9229, allocations: 115.6 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.923, allocations: 7.906 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.923, allocations: 7.875 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.923, allocations: 0 / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.923, allocations: 0 / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.923, allocations: 7.953 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.9235, allocations: 474.7 kB / 0.9843 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9236, allocations: 4 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.9236, allocations: 0 / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.9236, allocations: 4 kB / 0.9843 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.9236, allocations: 4 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9236, allocations: 3.953 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9236, allocations: 0 / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.9238, allocations: 95.61 kB / 0.9844 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.9239, allocations: 85.02 kB / 0.9845 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.9239, allocations: 3.953 kB / 0.9845 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.9239, allocations: 0 / 0.9845 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.924, allocations: 4 kB / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.924, allocations: 3.984 kB / 0.9845 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001399/0.9241, allocations: 125.3 kB / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9241, allocations: 0 / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002947/0.9244, allocations: 11.94 kB / 0.9847 GB, free: 2.047 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000542/0.925, allocations: 0.6953 MB / 0.9853 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.9251, allocations: 19.98 kB / 0.9854 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9251, allocations: 0 / 0.9854 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.9251, allocations: 7.938 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.9253, allocations: 4 kB / 0.9854 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.9266, allocations: 0.7055 MB / 0.9861 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.927, allocations: 0.7004 MB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.927, allocations: 8.422 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.9271, allocations: 27.42 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.9271, allocations: 0 / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.9625, allocations: 1.466 MB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.9628, allocations: 204.7 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/3.747, allocations: 0 / 0.9884 GB, free: 14.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat