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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009036, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009249/0.0009247, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7368, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009268/0.7378, allocations: 0.5152 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.7379, allocations: 43.97 kB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.738, allocations: 1.844 kB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.738, allocations: 3.938 kB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.7381, allocations: 1.5 kB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.12e-05/0.7382, allocations: 14.86 kB / 0.9544 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.7383, allocations: 57.91 kB / 0.9545 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.7384, allocations: 34.14 kB / 0.9545 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.7385, allocations: 22.31 kB / 0.9545 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.7385, allocations: 19.45 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.7386, allocations: 2.094 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.7386, allocations: 1.094 kB / 0.9546 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.7386, allocations: 10.66 kB / 0.9546 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.7386, allocations: 33.14 kB / 0.9546 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.514e-05/0.7387, allocations: 48.86 kB / 0.9546 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7387, allocations: 0 / 0.9546 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7387, allocations: 0 / 0.9546 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7387, allocations: 4 kB / 0.9546 GB, free: 7.488 MB / 0.7169 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.0003436/0.7391, allocations: 366.7 kB / 0.955 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7391, allocations: 13.81 kB / 0.955 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.7392, allocations: 39.88 kB / 0.955 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.7392, allocations: 16.77 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.7394, allocations: 189.5 kB / 0.9552 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.7394, allocations: 6.562 kB / 0.9553 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.7394, allocations: 5.156 kB / 0.9553 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.7396, allocations: 97.14 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7396, allocations: 0 / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7396, allocations: 1.5 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7396, allocations: 1.688 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.7397, allocations: 39.12 kB / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.7401, allocations: 437.5 kB / 0.9558 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.7402, allocations: 41.36 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.7402, allocations: 23.44 kB / 0.9559 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.7402, allocations: 1.188 kB / 0.9559 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.7402, allocations: 35.66 kB / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7403, allocations: 0 / 0.9559 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.7404, allocations: 54.19 kB / 0.956 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.7405, allocations: 78.17 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.7406, allocations: 162.9 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.7406, allocations: 26.95 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.7407, allocations: 104.5 kB / 0.9563 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.7407, allocations: 13.23 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.7407, allocations: 4 kB / 0.9563 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.7407, allocations: 321.3 kB / 0.9566 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7408, allocations: 2.438 kB / 0.9566 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.7408, allocations: 26.83 kB / 0.9567 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.7408, allocations: 4.844 kB / 0.9567 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7408, allocations: 4 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.128e-05/0.7409, allocations: 63.19 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7409, allocations: 5.406 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7409, allocations: 1.281 kB / 0.9567 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7409, allocations: 5.125 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.741, allocations: 4.781 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.741, allocations: 1.188 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.741, allocations: 2.406 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.7411, allocations: 1.281 kB / 0.9567 GB, free: 5.332 MB / 0.7169 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 5.674e-05/0.7411, allocations: 125.4 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.7412, allocations: 11.95 kB / 0.9569 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.7412, allocations: 14.33 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7412, allocations: 1.156 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7412, allocations: 1 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7412, allocations: 1.344 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.7415, allocations: 481.4 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7415, allocations: 1.469 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.7415, allocations: 2.062 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7415, allocations: 1.344 kB / 0.9574 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.7415, allocations: 4 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7416, allocations: 0.8125 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7416, allocations: 1.312 kB / 0.9574 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.731e-05/0.7416, allocations: 83.09 kB / 0.9574 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.7417, allocations: 90.66 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.7417, allocations: 2.656 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.7417, allocations: 0 / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.7417, allocations: 5.688 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.7417, allocations: 0 / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.7418, allocations: 123.2 kB / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7418, allocations: 0.625 kB / 0.9577 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.742, allocations: 10.66 kB / 0.9577 GB, free: 4.367 MB / 0.7169 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.0002472/0.7423, allocations: 0.6132 MB / 0.9583 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.7423, allocations: 18.34 kB / 0.9583 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7424, allocations: 4.156 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.7424, allocations: 5.156 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.7425, allocations: 6.875 kB / 0.9583 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.7434, allocations: 0.5475 MB / 0.9588 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.7435, allocations: 0.699 MB / 0.9595 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.7435, allocations: 12.89 kB / 0.9595 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.7436, allocations: 26.36 kB / 0.9596 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7436, allocations: 0 / 0.9596 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.7553, allocations: 1.479 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.7555, allocations: 204.1 kB / 0.9612 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.531, allocations: 0 / 0.9612 GB, free: 1.605 MB / 0.7169 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