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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001828/0.001828, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009278, allocations: 88.03 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.718e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2581, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.215, allocations: 149.6 MB / 1.365 GB, free: 4.426 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/1.215, allocations: 65.02 kB / 1.365 GB, free: 4.391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002651/1.217, allocations: 1.085 MB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.218, allocations: 0 / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.218, allocations: 4 kB / 1.366 GB, free: 3.43 MB / 0.823 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.0003421/1.218, allocations: 359 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.218, allocations: 12.03 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/1.218, allocations: 34.44 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/1.218, allocations: 20.36 kB / 1.366 GB, free: 2.973 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.218, allocations: 186.8 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.218, allocations: 7.688 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/1.218, allocations: 4 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/1.218, allocations: 89.81 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.218, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.218, allocations: 0.875 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.218, allocations: 4 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/1.219, allocations: 41.62 kB / 1.367 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/1.219, allocations: 448.1 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/1.219, allocations: 44.78 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/1.219, allocations: 17.22 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/1.219, allocations: 0 / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.219, allocations: 38.55 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.219, allocations: 4 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000158/1.219, allocations: 48.61 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.22, allocations: 77.11 kB / 1.367 GB, free: 1.902 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/1.22, allocations: 143.5 kB / 1.368 GB, free: 1.773 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.22, allocations: 29.7 kB / 1.368 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/1.22, allocations: 110.3 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-06/1.22, allocations: 3.906 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/1.22, allocations: 0 / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.22, allocations: 329.8 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/1.22, allocations: 6.562 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/1.22, allocations: 20.28 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/1.22, allocations: 7 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.22, allocations: 0.875 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.459e-05/1.22, allocations: 60.91 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.22, allocations: 8.062 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.22, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.22, allocations: 4 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/1.22, allocations: 11.94 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.22, allocations: 4.766 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/1.22, allocations: 11.84 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/1.22, allocations: 224 / 1.368 GB, free: 1.176 MB / 0.823 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 5.791e-05/1.22, allocations: 112.2 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/1.22, allocations: 11.84 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/1.22, allocations: 11.16 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.22, allocations: 4 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.22, allocations: 0 / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.22, allocations: 0 / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/1.221, allocations: 477.2 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/1.221, allocations: 4 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/1.221, allocations: 4.062 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.221, allocations: 4 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.477e-05/1.221, allocations: 93.19 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/1.221, allocations: 85.02 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/1.221, allocations: 4.031 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/1.221, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/1.221, allocations: 7.547 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/1.221, allocations: 8.047 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.988e-05/1.221, allocations: 117.9 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.221, allocations: 0 / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001954/1.221, allocations: 8 kB / 1.369 GB, free: 180 kB / 0.823 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.0004179/1.222, allocations: 0.69 MB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.245e-05/1.222, allocations: 18.98 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.222, allocations: 4 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/1.222, allocations: 8.156 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/1.222, allocations: 16.88 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/1.222, allocations: 140 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.223, allocations: 0.7004 MB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.282e-05/1.223, allocations: 8.422 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/1.223, allocations: 22.06 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.223, allocations: 4 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/1.234, allocations: 1.444 MB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/1.234, allocations: 160.5 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.82, allocations: 4.062 kB / 1.372 GB, free: 12.98 MB / 0.8386 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) 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