Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.755/2.755, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 192.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009845, allocations: 103.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9432/1.239, allocations: 148.1 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.239, allocations: 61.12 kB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002975/1.242, allocations: 1.096 MB / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.242, allocations: 0 / 1.352 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.455e-06/1.242, allocations: 1.312 kB / 1.352 GB, free: 33.78 MB / 0.8386 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.0002908/1.243, allocations: 363.1 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.243, allocations: 9.188 kB / 1.352 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/1.243, allocations: 9.094 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.243, allocations: 177.9 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.243, allocations: 2.625 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/1.243, allocations: 5.125 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.727e-05/1.243, allocations: 29.2 kB / 1.352 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/1.243, allocations: 84.44 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.243, allocations: 0.6094 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.243, allocations: 5.312 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/1.243, allocations: 1.312 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/1.244, allocations: 407.9 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/1.244, allocations: 37.12 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/1.244, allocations: 18.7 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/1.244, allocations: 1.312 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/1.244, allocations: 34.91 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.244, allocations: 4 kB / 1.353 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/1.244, allocations: 44.08 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/1.244, allocations: 81.47 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.244, allocations: 113.4 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-06/1.244, allocations: 27.02 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/1.244, allocations: 108.8 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/1.244, allocations: 6.531 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.244, allocations: 64 / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.244, allocations: 321.5 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/1.244, allocations: 7.562 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/1.244, allocations: 14.42 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/1.244, allocations: 9.984 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.244, allocations: 3.938 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.185e-05/1.244, allocations: 55.08 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.244, allocations: 13.19 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.244, allocations: 2.109 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.245, allocations: 0 / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/1.245, allocations: 7.156 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.245, allocations: 2.016 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/1.245, allocations: 5.188 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/1.245, allocations: 3.938 kB / 1.354 GB, free: 31.96 MB / 0.8386 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 () * 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 6.126e-05/1.245, allocations: 109.9 kB / 1.354 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.88e-05/1.245, allocations: 49.3 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/1.245, allocations: 4.312 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/1.245, allocations: 10.22 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.245, allocations: 1.344 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.245, allocations: 1.312 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.245, allocations: 0.7969 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/1.245, allocations: 447.7 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.245, allocations: 6.062 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/1.245, allocations: 6.734 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.245, allocations: 2.078 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/1.245, allocations: 5.281 kB / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.245, allocations: 0 / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.245, allocations: 5.219 kB / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.086e-05/1.245, allocations: 88.41 kB / 1.354 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/1.245, allocations: 85.8 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/1.245, allocations: 1.312 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/1.245, allocations: 0.8438 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/1.245, allocations: 1.312 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.245, allocations: 1.828 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.796e-05/1.246, allocations: 96.36 kB / 1.355 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.246, allocations: 1.281 kB / 1.355 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000191/1.246, allocations: 10.5 kB / 1.355 GB, free: 31.08 MB / 0.8386 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 () * 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.0003788/1.246, allocations: 0.6947 MB / 1.355 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/1.246, allocations: 11.36 kB / 1.355 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.246, allocations: 4.156 kB / 1.355 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/1.246, allocations: 7.812 kB / 1.355 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/1.246, allocations: 13.11 kB / 1.355 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/1.247, allocations: 135.8 kB / 1.355 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/1.247, allocations: 0.6952 MB / 1.356 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.791e-05/1.247, allocations: 9.578 kB / 1.356 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/1.247, allocations: 19.22 kB / 1.356 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.247, allocations: 3.969 kB / 1.356 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.266, allocations: 0.8675 MB / 1.357 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.266, allocations: 153.3 kB / 1.357 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/2.645, allocations: 0 / 1.357 GB, free: 29.29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat does not exist to compare? outputFormat=mat