Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0009619/0.0009619, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001195/0.001195, allocations: 172.7 kB / 15.95 MB, free: 192 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.637/1.637, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.655/2.655, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 15.98 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8495, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001071/0.8506, allocations: 0.5186 MB / 0.9816 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.8507, allocations: 39.84 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.8508, allocations: 0 / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.8508, allocations: 7.922 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.8509, allocations: 7.938 kB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.66e-05/0.8509, allocations: 15.98 kB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.851, allocations: 55.86 kB / 0.9818 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.8512, allocations: 28.16 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.8513, allocations: 15.88 kB / 0.9818 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.8513, allocations: 27.78 kB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.8513, allocations: 4 kB / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.8514, allocations: 0 / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.8514, allocations: 7.984 kB / 0.9818 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.8514, allocations: 37.64 kB / 0.9819 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.8515, allocations: 50.14 kB / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.8515, allocations: 4 kB / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8515, allocations: 0 / 0.9819 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.8515, allocations: 0 / 0.9819 GB, free: 5.457 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.0004814/0.852, allocations: 363 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8521, allocations: 16.03 kB / 0.9823 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.8521, allocations: 38.55 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.8522, allocations: 15.84 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.8524, allocations: 190.9 kB / 0.9825 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.8524, allocations: 4 kB / 0.9825 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.8525, allocations: 8 kB / 0.9825 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.8526, allocations: 100.8 kB / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.8527, allocations: 7.984 kB / 0.9826 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8527, allocations: 8 kB / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8527, allocations: 0 / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.8528, allocations: 35.98 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.8533, allocations: 428.7 kB / 0.9831 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.8534, allocations: 37.16 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.8534, allocations: 21.84 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.8534, allocations: 0 / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8535, allocations: 42.58 kB / 0.9832 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.8535, allocations: 3.984 kB / 0.9832 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.8537, allocations: 65.5 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.8537, allocations: 77.11 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.8539, allocations: 166.6 kB / 0.9835 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.8539, allocations: 25.7 kB / 0.9835 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.8539, allocations: 104 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.854, allocations: 7.844 kB / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.854, allocations: 0 / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8541, allocations: 323.1 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.8541, allocations: 8 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.8541, allocations: 17.72 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.8542, allocations: 8 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8542, allocations: 0 / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.702e-05/0.8542, allocations: 57.53 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8543, allocations: 8 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8543, allocations: 64 / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8543, allocations: 4 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.8544, allocations: 8 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8544, allocations: 7.953 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.8544, allocations: 3.984 kB / 0.9841 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.8544, allocations: 4 kB / 0.9841 GB, free: 3.023 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.468e-05/0.8545, allocations: 109.8 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.8546, allocations: 7.906 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.8546, allocations: 7.875 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8546, allocations: 7.938 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8546, allocations: 7.938 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8546, allocations: 7.891 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.855, allocations: 470.8 kB / 0.9846 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.855, allocations: 3.938 kB / 0.9846 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.855, allocations: 4 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.855, allocations: 0 / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.855, allocations: 4.016 kB / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.855, allocations: 4 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.855, allocations: 0 / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.8551, allocations: 77.89 kB / 0.9847 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.8552, allocations: 85.02 kB / 0.9848 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.8552, allocations: 4 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.8552, allocations: 3.953 kB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.8552, allocations: 4.031 kB / 0.9848 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.8552, allocations: 3.938 kB / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.8553, allocations: 121.1 kB / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8553, allocations: 0 / 0.9849 GB, free: 2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001909/0.8555, allocations: 15.94 kB / 0.985 GB, free: 1.984 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.0004655/0.856, allocations: 0.6054 MB / 0.9856 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.931e-05/0.8561, allocations: 23.92 kB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8561, allocations: 0 / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.8561, allocations: 8 kB / 0.9856 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.8563, allocations: 7.953 kB / 0.9856 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.8572, allocations: 0.5481 MB / 0.9861 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.8576, allocations: 0.6926 MB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.8576, allocations: 8.422 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.8577, allocations: 19.44 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8577, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.8694, allocations: 1.503 MB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.8696, allocations: 192.9 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.624, allocations: 1.688 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat does not exist to compare? outputFormat=mat