Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.381/2.381, 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.001315/0.001315, allocations: 172.9 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.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008712/0.0008711, allocations: 92 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.237e-05/5.265e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8826/1.214, allocations: 149.6 MB / 1.365 GB, free: 4.457 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.214, allocations: 65.92 kB / 1.365 GB, free: 4.422 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002652/1.217, allocations: 1.086 MB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/1.217, allocations: 0 / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.217, allocations: 8 kB / 1.366 GB, free: 3.457 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.0003735/1.218, allocations: 358 kB / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.218, allocations: 8.031 kB / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/1.218, allocations: 41.92 kB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/1.218, allocations: 14.98 kB / 1.366 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/1.218, allocations: 174.9 kB / 1.367 GB, free: 2.793 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/1.218, allocations: 7 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/1.218, allocations: 4 kB / 1.367 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.218, allocations: 95.39 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.218, allocations: 0 / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/1.218, allocations: 3.562 kB / 1.367 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.218, allocations: 4 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/1.218, allocations: 34.06 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/1.219, allocations: 457 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/1.219, allocations: 40.09 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/1.219, allocations: 21.03 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/1.219, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.219, allocations: 34.56 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.219, allocations: 0 / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/1.219, allocations: 52.84 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.219, allocations: 77.11 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.219, allocations: 150.7 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.219, allocations: 29.64 kB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/1.22, allocations: 105.8 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/1.22, allocations: 7.344 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.22, allocations: 0 / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.22, allocations: 326.7 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/1.22, allocations: 7.938 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/1.22, allocations: 17.34 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/1.22, allocations: 10.75 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.22, allocations: 0 / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/1.22, allocations: 60.34 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.22, allocations: 9.344 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.22, allocations: 4 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.22, allocations: 96 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/1.22, allocations: 4 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.22, allocations: 0 / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/1.22, allocations: 19.89 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/1.22, allocations: 224 / 1.368 GB, free: 1.211 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 6.864e-05/1.22, allocations: 112.2 kB / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/1.22, allocations: 15.83 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/1.22, allocations: 6.469 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.22, allocations: 4 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.22, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.22, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/1.221, allocations: 473.4 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/1.221, allocations: 11.98 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.221, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.221, allocations: 4 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.243e-05/1.221, allocations: 93.45 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/1.221, allocations: 92.12 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/1.221, allocations: 0 / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/1.221, allocations: 0 / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/1.221, allocations: 0 / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/1.221, allocations: 7.953 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.571e-05/1.221, allocations: 117.4 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/1.221, allocations: 4.031 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001943/1.221, allocations: 11.56 kB / 1.369 GB, free: 216 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.0004279/1.222, allocations: 0.6944 MB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/1.222, allocations: 15.88 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.222, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/1.222, allocations: 11.88 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/1.222, allocations: 7.328 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/1.222, allocations: 143.6 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.223, allocations: 0.7007 MB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.996e-05/1.223, allocations: 4.438 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/1.223, allocations: 25.8 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/1.223, allocations: 0 / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/1.234, allocations: 1.445 MB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.235, allocations: 167 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.757, allocations: 0 / 1.372 GB, free: 13.02 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat does not exist to compare? outputFormat=mat