Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001233/0.001233, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001799/0.001799, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.844/2.844, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 15.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.84, allocations: 146.8 MB / 0.9811 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001109/0.8412, allocations: 0.5147 MB / 0.9816 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.8414, allocations: 39.78 kB / 0.9817 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.8414, allocations: 0 / 0.9817 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.8415, allocations: 11.92 kB / 0.9817 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.8416, allocations: 3.938 kB / 0.9817 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.784e-05/0.8416, allocations: 12 kB / 0.9817 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.8418, allocations: 51.84 kB / 0.9818 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.8419, allocations: 40.14 kB / 0.9818 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.842, allocations: 19.81 kB / 0.9818 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.8421, allocations: 23.84 kB / 0.9818 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.8421, allocations: 4 kB / 0.9818 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.8421, allocations: 0 / 0.9818 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.8421, allocations: 7.938 kB / 0.9819 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.8422, allocations: 33.7 kB / 0.9819 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.75e-05/0.8422, allocations: 58.06 kB / 0.9819 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8423, allocations: 0 / 0.9819 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8423, allocations: 0 / 0.9819 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8423, allocations: 0 / 0.9819 GB, free: 5.57 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.0004526/0.8427, allocations: 371 kB / 0.9823 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8428, allocations: 8.031 kB / 0.9823 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.8428, allocations: 38.56 kB / 0.9823 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.8429, allocations: 7.906 kB / 0.9823 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.8431, allocations: 195 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.8431, allocations: 7.938 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.8431, allocations: 8 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.8433, allocations: 100.4 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.8433, allocations: 0 / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.8433, allocations: 0 / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.8434, allocations: 4 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.8434, allocations: 39.92 kB / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.844, allocations: 432.7 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.8441, allocations: 41.25 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.8441, allocations: 21.78 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.8442, allocations: 0 / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8442, allocations: 34.56 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.8442, allocations: 0 / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.8444, allocations: 57.48 kB / 0.9832 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.8444, allocations: 77.11 kB / 0.9833 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.8446, allocations: 176.3 kB / 0.9835 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.8446, allocations: 25.7 kB / 0.9835 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.8447, allocations: 104 kB / 0.9836 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.8447, allocations: 15.84 kB / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.8447, allocations: 0 / 0.9836 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8448, allocations: 318.8 kB / 0.9839 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.8448, allocations: 4 kB / 0.9839 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.8449, allocations: 17.72 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.8449, allocations: 15.94 kB / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8449, allocations: 0 / 0.984 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.845, allocations: 57.59 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.845, allocations: 4 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.845, allocations: 0 / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8451, allocations: 0 / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.8451, allocations: 11.94 kB / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.8452, allocations: 7.938 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.8452, allocations: 8.062 kB / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.8452, allocations: 0 / 0.984 GB, free: 3.145 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 8.925e-05/0.8453, allocations: 117.8 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.8454, allocations: 11.91 kB / 0.9842 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.8454, allocations: 11.88 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8454, allocations: 0 / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8454, allocations: 0 / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8454, allocations: 3.953 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.8458, allocations: 474.7 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8458, allocations: 3.938 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.8459, allocations: 7.984 kB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8459, allocations: 0 / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8459, allocations: 3.953 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8459, allocations: 4 kB / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8459, allocations: 0 / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.365e-05/0.846, allocations: 78 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.8461, allocations: 96.98 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.8461, allocations: 0 / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.8461, allocations: 3.953 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.8461, allocations: 0 / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.8461, allocations: 4 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.8462, allocations: 118.5 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8462, allocations: 11.97 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000187/0.8464, allocations: 7.938 kB / 0.985 GB, free: 2.098 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.0003718/0.8468, allocations: 0.6132 MB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.8469, allocations: 16.03 kB / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8469, allocations: 0 / 0.9856 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.8469, allocations: 11.92 kB / 0.9856 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.8471, allocations: 11.95 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.848, allocations: 0.541 MB / 0.9861 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.8483, allocations: 0.6965 MB / 0.9868 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.8484, allocations: 8.5 kB / 0.9868 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.8484, allocations: 23.42 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8484, allocations: 0 / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.863, allocations: 1.49 MB / 0.9883 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.8633, allocations: 198.6 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.585, allocations: 4 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat does not exist to compare? outputFormat=mat