Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.283/2.283, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001196/0.001196, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008546/0.0008546, allocations: 87.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.315e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.01, allocations: 149.6 MB / 1.365 GB, free: 4.473 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/1.011, allocations: 63.56 kB / 1.365 GB, free: 4.441 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00253/1.013, allocations: 1.089 MB / 1.366 GB, free: 3.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.343e-06/1.013, allocations: 0 / 1.366 GB, free: 3.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.013, allocations: 4 kB / 1.366 GB, free: 3.477 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.0003226/1.014, allocations: 360.7 kB / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.014, allocations: 8.031 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/1.014, allocations: 37.19 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/1.014, allocations: 11.86 kB / 1.366 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.014, allocations: 191.6 kB / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.014, allocations: 4 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/1.014, allocations: 7.188 kB / 1.367 GB, free: 2.793 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.014, allocations: 88.38 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/1.014, allocations: 0.875 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.014, allocations: 3.312 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.014, allocations: 11.88 kB / 1.367 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/1.014, allocations: 34.19 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/1.015, allocations: 452.9 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/1.015, allocations: 40.22 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/1.015, allocations: 17.03 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.015, allocations: 4 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.015, allocations: 38.58 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.015, allocations: 0 / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/1.015, allocations: 48.23 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.015, allocations: 81.05 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/1.015, allocations: 146 kB / 1.368 GB, free: 1.812 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.015, allocations: 25.7 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/1.015, allocations: 105.3 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/1.015, allocations: 3.906 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.015, allocations: 3.5 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.016, allocations: 329.5 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/1.016, allocations: 7.375 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/1.016, allocations: 16.59 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/1.016, allocations: 11.98 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.016, allocations: 0 / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.339e-05/1.016, allocations: 58.05 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.016, allocations: 8 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.016, allocations: 4.766 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.016, allocations: 0.625 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/1.016, allocations: 7.984 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/1.016, allocations: 4 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/1.016, allocations: 7.844 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/1.016, allocations: 224 / 1.368 GB, free: 1.23 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.588e-05/1.016, allocations: 108.9 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/1.016, allocations: 18.97 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/1.016, allocations: 7.656 kB / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.016, allocations: 4 kB / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.016, allocations: 0 / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.016, allocations: 0 / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/1.016, allocations: 476 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.016, allocations: 0 / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/1.016, allocations: 4 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.016, allocations: 0 / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/1.016, allocations: 4.062 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.016, allocations: 7.938 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.016, allocations: 4.031 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/1.017, allocations: 93.8 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/1.017, allocations: 85.02 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/1.017, allocations: 0 / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/1.017, allocations: 8.016 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/1.017, allocations: 7.125 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/1.017, allocations: 3.953 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of sorting global known variables: time 7.989e-05/1.017, allocations: 118.8 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001667/1.017, allocations: 8 kB / 1.369 GB, free: 228 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.0003779/1.017, allocations: 0.6944 MB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/1.017, allocations: 22.56 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.017, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/1.017, allocations: 4 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/1.018, allocations: 12.23 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/1.018, allocations: 139.5 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.018, allocations: 0.6965 MB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.024e-05/1.018, allocations: 8.422 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/1.018, allocations: 22.5 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.018, allocations: 4 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/1.03, allocations: 1.444 MB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/1.03, allocations: 171.8 kB / 1.372 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.504, allocations: 0 / 1.372 GB, free: 13.01 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat does not exist to compare? outputFormat=mat