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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009784/0.0009785, allocations: 177.3 kB / 15.95 MB, free: 216 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005162, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.823, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.000763/0.8238, allocations: 0.5134 MB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.02e-05/0.8239, allocations: 45.75 kB / 0.9541 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.8239, allocations: 5.5 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.8239, allocations: 7.922 kB / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.824, allocations: 1.312 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-05/0.824, allocations: 15.52 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.8241, allocations: 36.16 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.8242, allocations: 37.58 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.8243, allocations: 14.75 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.8243, allocations: 19.3 kB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.8243, allocations: 1.406 kB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.8244, allocations: 1.438 kB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.8244, allocations: 10.62 kB / 0.9543 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.8244, allocations: 29.98 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.098e-05/0.8245, allocations: 55.78 kB / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.8245, allocations: 0 / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8245, allocations: 0 / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.8245, allocations: 1.188 kB / 0.9544 GB, free: 7.477 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.0002636/0.8248, allocations: 366.6 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.8248, allocations: 8.969 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.576e-05/0.8248, allocations: 41.31 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.8249, allocations: 16.48 kB / 0.9548 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.825, allocations: 189.7 kB / 0.955 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.825, allocations: 2.594 kB / 0.955 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.825, allocations: 13.16 kB / 0.955 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.8252, allocations: 92.55 kB / 0.9551 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.8252, allocations: 0 / 0.9551 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.8252, allocations: 5.406 kB / 0.9551 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.8252, allocations: 2.812 kB / 0.9551 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.8253, allocations: 43.72 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.8256, allocations: 448.4 kB / 0.9555 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.8257, allocations: 37.08 kB / 0.9556 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.8257, allocations: 5.062 kB / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.8257, allocations: 35.75 kB / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8257, allocations: 0 / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.8259, allocations: 54.8 kB / 0.9557 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.8259, allocations: 82.25 kB / 0.9557 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.826, allocations: 158.6 kB / 0.9559 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.826, allocations: 26.95 kB / 0.9559 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.8261, allocations: 104.8 kB / 0.956 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.8261, allocations: 7.844 kB / 0.956 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.8261, allocations: 1.375 kB / 0.956 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.8261, allocations: 328.1 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.8261, allocations: 7.219 kB / 0.9563 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.8262, allocations: 18.8 kB / 0.9564 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.8262, allocations: 8.812 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8262, allocations: 0 / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.761e-05/0.8263, allocations: 58.64 kB / 0.9564 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.8263, allocations: 5.406 kB / 0.9564 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8263, allocations: 9.141 kB / 0.9564 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.8263, allocations: 1.156 kB / 0.9564 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.8264, allocations: 5.219 kB / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8264, allocations: 5.078 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.8264, allocations: 2.094 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.8264, allocations: 1.125 kB / 0.9565 GB, free: 5.328 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 4.84e-05/0.8265, allocations: 122 kB / 0.9566 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.8266, allocations: 7.625 kB / 0.9566 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.8266, allocations: 15.23 kB / 0.9566 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8266, allocations: 4 kB / 0.9566 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8266, allocations: 1.281 kB / 0.9566 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.8266, allocations: 0 / 0.9566 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.8269, allocations: 470.4 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8269, allocations: 1.219 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.8269, allocations: 2.406 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8269, allocations: 1.188 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.8269, allocations: 9.25 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8269, allocations: 0 / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8269, allocations: 1.375 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.947e-05/0.827, allocations: 92.34 kB / 0.9572 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.827, allocations: 83.64 kB / 0.9572 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.827, allocations: 13.48 kB / 0.9572 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.8271, allocations: 4 kB / 0.9572 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.8271, allocations: 9.391 kB / 0.9573 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.8271, allocations: 1.094 kB / 0.9573 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.8272, allocations: 119.1 kB / 0.9574 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8272, allocations: 0 / 0.9574 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001849/0.8273, allocations: 11.47 kB / 0.9574 GB, free: 4.352 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.0002141/0.8276, allocations: 0.6898 MB / 0.9581 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.8276, allocations: 17.34 kB / 0.9581 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8276, allocations: 1.375 kB / 0.9581 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.8277, allocations: 4.188 kB / 0.9581 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.8278, allocations: 13.98 kB / 0.9581 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.8285, allocations: 0.6958 MB / 0.9588 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.8286, allocations: 0.6968 MB / 0.9595 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.8286, allocations: 8.359 kB / 0.9595 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.8287, allocations: 19 kB / 0.9595 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8287, allocations: 4 kB / 0.9595 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.8393, allocations: 1.47 MB / 0.9609 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.8395, allocations: 187.1 kB / 0.9611 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.451, allocations: 0 / 0.9611 GB, free: 1.371 MB / 0.7169 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