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.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00102/0.00102, allocations: 180 kB / 0.4901 GB, free: 2.258 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.515/1.515, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009631/0.0009632, allocations: 109.6 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003893, allocations: 14.47 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.5032, allocations: 149.6 MB / 1.375 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.5036, allocations: 67.95 kB / 1.375 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003821/0.5075, allocations: 1.088 MB / 1.376 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.837e-06/0.5075, allocations: 0 / 1.376 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.5076, allocations: 4.219 kB / 1.377 GB, free: 2.68 MB / 0.8698 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.000567/0.5081, allocations: 376.2 kB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.5082, allocations: 8.562 kB / 1.377 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.223e-05/0.5083, allocations: 38.56 kB / 1.377 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.5084, allocations: 19.84 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5086, allocations: 182.8 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.5086, allocations: 4 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5087, allocations: 8 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.5089, allocations: 91.33 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5089, allocations: 0 / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.5089, allocations: 4 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5089, allocations: 4 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.509, allocations: 39.92 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.5098, allocations: 456.5 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/0.5099, allocations: 37.22 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.5099, allocations: 0 / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.51, allocations: 38.59 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.51, allocations: 0 / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002188/0.5102, allocations: 61.59 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.5103, allocations: 81.36 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.5104, allocations: 144.7 kB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5105, allocations: 25.7 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.5106, allocations: 101.7 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.5106, allocations: 11.84 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.5106, allocations: 4 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5107, allocations: 322.8 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.5108, allocations: 4 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.5108, allocations: 21.72 kB / 1.378 GB, free: 404 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.5108, allocations: 12 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5108, allocations: 0 / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.5109, allocations: 61.53 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.511, allocations: 4 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.511, allocations: 4 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.511, allocations: 3.938 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.5111, allocations: 4.062 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5111, allocations: 7.984 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.5111, allocations: 7.906 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.5112, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 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.868e-05/0.5112, allocations: 117.8 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.5113, allocations: 11.84 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.5113, allocations: 11.88 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5113, allocations: 0 / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5113, allocations: 0 / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5114, allocations: 4 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.5118, allocations: 470.8 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5119, allocations: 4 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.5119, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5119, allocations: 4 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.5119, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5119, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5119, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.512, allocations: 95.62 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.5121, allocations: 89.02 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5121, allocations: 0 / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.5122, allocations: 11.92 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.5122, allocations: 3.938 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.5122, allocations: 4.031 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.565e-05/0.5123, allocations: 123.2 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5123, allocations: 0 / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001966/0.5125, allocations: 11.94 kB / 1.38 GB, free: 15.23 MB / 0.8855 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.0004581/0.513, allocations: 0.6884 MB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.5131, allocations: 23.94 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5131, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.5131, allocations: 4 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.5132, allocations: 11.95 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.5142, allocations: 0.7108 MB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.5145, allocations: 0.6926 MB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.5146, allocations: 16.59 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.5146, allocations: 15.44 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of SimCode: time 6.62e-07/0.5147, allocations: 4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.5275, allocations: 1.473 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.5277, allocations: 190.5 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.133, allocations: 3.938 kB / 1.383 GB, free: 11.35 MB / 0.8855 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