Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001138/0.001139, allocations: 196.4 kB / 487.4 MB, free: 5.043 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.71/1.71, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009652/0.0009653, allocations: 99.84 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.311e-05, allocations: 6.031 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.07, allocations: 148.1 MB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/1.071, allocations: 62 kB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002769/1.073, allocations: 1.086 MB / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/1.073, allocations: 0 / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.073, allocations: 1.312 kB / 1.352 GB, free: 33.98 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.0002708/1.074, allocations: 363 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.074, allocations: 9.094 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/1.074, allocations: 13.16 kB / 1.352 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/1.074, allocations: 189.1 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.074, allocations: 2.625 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.074, allocations: 5.281 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.682e-05/1.074, allocations: 28.47 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.074, allocations: 78.92 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.074, allocations: 0 / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.074, allocations: 2.891 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.074, allocations: 1.312 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/1.075, allocations: 411.2 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/1.075, allocations: 40.78 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/1.075, allocations: 18.31 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.075, allocations: 1.25 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/1.075, allocations: 35.88 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.075, allocations: 4 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/1.075, allocations: 43.53 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.075, allocations: 77.11 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.075, allocations: 113.9 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/1.075, allocations: 30.36 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/1.075, allocations: 108.5 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/1.075, allocations: 3.906 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/1.075, allocations: 1.344 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.075, allocations: 323.1 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.076, allocations: 6.906 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/1.076, allocations: 16.41 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/1.076, allocations: 9.484 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.076, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.211e-05/1.076, allocations: 59.11 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.076, allocations: 9.219 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.076, allocations: 1.281 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.076, allocations: 0 / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/1.076, allocations: 12.05 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/1.076, allocations: 1.422 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/1.076, allocations: 5.25 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/1.076, allocations: 1.312 kB / 1.354 GB, free: 32.16 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.551e-05/1.076, allocations: 102.2 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.432e-05/1.076, allocations: 49.52 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/1.076, allocations: 9.547 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/1.076, allocations: 8.656 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.076, allocations: 2.516 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/1.076, allocations: 3.938 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.076, allocations: 1.219 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/1.076, allocations: 449.6 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.076, allocations: 1.312 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/1.076, allocations: 6.719 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.076, allocations: 1.5 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.077, allocations: 2.422 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.077, allocations: 3.938 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.077, allocations: 1.281 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.1e-05/1.077, allocations: 84.38 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/1.077, allocations: 85.17 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/1.077, allocations: 1.281 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/1.077, allocations: 0 / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/1.077, allocations: 6.266 kB / 1.355 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/1.077, allocations: 1.281 kB / 1.355 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.486e-05/1.077, allocations: 100.2 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.077, allocations: 1.312 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001929/1.077, allocations: 10.34 kB / 1.355 GB, free: 31.27 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.0003726/1.077, allocations: 0.6856 MB / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.077e-05/1.077, allocations: 17.56 kB / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/1.077, allocations: 3.969 kB / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/1.077, allocations: 7.875 kB / 1.355 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/1.078, allocations: 4.5 kB / 1.355 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/1.078, allocations: 135.9 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/1.078, allocations: 0.6952 MB / 1.356 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.797e-05/1.078, allocations: 9.641 kB / 1.356 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/1.078, allocations: 20.41 kB / 1.356 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.078, allocations: 0 / 1.356 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/1.096, allocations: 0.8752 MB / 1.357 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.096, allocations: 147.9 kB / 1.357 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.412/2.508, allocations: 0.6562 kB / 1.357 GB, free: 29.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat does not exist to compare? outputFormat=mat