Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001087/0.001087, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009334/0.0009334, allocations: 103.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.341e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.35, allocations: 148.1 MB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/1.35, allocations: 59.98 kB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002811/1.353, allocations: 1.086 MB / 1.352 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/1.353, allocations: 1.344 kB / 1.352 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.353, allocations: 1.312 kB / 1.352 GB, free: 33.81 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.000279/1.354, allocations: 356.3 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.354, allocations: 9.094 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/1.354, allocations: 17.2 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.354, allocations: 181.2 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.354, allocations: 2.625 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/1.354, allocations: 3.969 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.184e-05/1.354, allocations: 37.44 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/1.354, allocations: 75.33 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.354, allocations: 0 / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/1.354, allocations: 0 / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/1.354, allocations: 2.562 kB / 1.352 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/1.355, allocations: 410.6 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/1.355, allocations: 41.8 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/1.355, allocations: 18.19 kB / 1.353 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/1.355, allocations: 5.328 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/1.355, allocations: 35.98 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.355, allocations: 0 / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/1.355, allocations: 48.05 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.355, allocations: 77.11 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/1.355, allocations: 117.5 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/1.355, allocations: 27.48 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/1.355, allocations: 107.5 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/1.355, allocations: 4.609 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/1.355, allocations: 1.312 kB / 1.353 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.355, allocations: 322.1 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/1.355, allocations: 7.312 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/1.355, allocations: 18.2 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/1.355, allocations: 10.48 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.355, allocations: 0 / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.985e-05/1.355, allocations: 59.17 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.355, allocations: 6.656 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/1.355, allocations: 4.062 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.355, allocations: 1.25 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/1.355, allocations: 6.516 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/1.355, allocations: 2.656 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/1.356, allocations: 9.188 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.356, allocations: 1.828 kB / 1.354 GB, free: 31.99 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 5.603e-05/1.356, allocations: 106.3 kB / 1.354 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.78e-05/1.356, allocations: 47.09 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/1.356, allocations: 5.938 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/1.356, allocations: 10.89 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.356, allocations: 1.312 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.356, allocations: 0 / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/1.356, allocations: 1.969 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/1.356, allocations: 447.1 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.356, allocations: 3.875 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/1.356, allocations: 2.844 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.356, allocations: 5.984 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/1.356, allocations: 3.938 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.356, allocations: 5.953 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.356, allocations: 1.969 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.403e-05/1.356, allocations: 79.58 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/1.356, allocations: 92.86 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/1.356, allocations: 0.7969 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/1.356, allocations: 1.312 kB / 1.354 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/1.356, allocations: 2.109 kB / 1.355 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/1.356, allocations: 1.344 kB / 1.355 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.581e-05/1.356, allocations: 96.42 kB / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.356, allocations: 0 / 1.355 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001835/1.357, allocations: 11.84 kB / 1.355 GB, free: 31.11 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.000352/1.357, allocations: 0.69 MB / 1.355 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.955e-05/1.357, allocations: 14.84 kB / 1.355 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.357, allocations: 0 / 1.355 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/1.357, allocations: 15.16 kB / 1.355 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/1.357, allocations: 2.172 kB / 1.355 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/1.358, allocations: 141.2 kB / 1.355 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/1.358, allocations: 0.6956 MB / 1.356 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.535e-05/1.358, allocations: 1.594 kB / 1.356 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/1.358, allocations: 28.55 kB / 1.356 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.358, allocations: 0 / 1.356 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/1.376, allocations: 0.8792 MB / 1.357 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.376, allocations: 153.9 kB / 1.357 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.817, allocations: 0 / 1.357 GB, free: 29.31 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat does not exist to compare? outputFormat=mat