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.001281/0.001281, allocations: 99.86 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.001395/0.001395, 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.449/2.449, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 20 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8181, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001009/0.8192, allocations: 0.5149 MB / 0.9541 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.8193, allocations: 45.45 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.8194, allocations: 1.219 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.8194, allocations: 3.938 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.8195, allocations: 4.984 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.965e-05/0.8196, allocations: 19.39 kB / 0.9542 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.8197, allocations: 35.75 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.8198, allocations: 34.41 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.8199, allocations: 13.69 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.8199, allocations: 23.66 kB / 0.9543 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.8199, allocations: 1.5 kB / 0.9543 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.82, allocations: 2.188 kB / 0.9543 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.82, allocations: 10.53 kB / 0.9543 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.82, allocations: 36.44 kB / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.8201, allocations: 53.23 kB / 0.9544 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8201, allocations: 0 / 0.9544 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8201, allocations: 4 kB / 0.9544 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8201, allocations: 0 / 0.9544 GB, free: 7.492 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.0003519/0.8205, allocations: 358 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.8205, allocations: 9.625 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.8206, allocations: 41.11 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.8206, allocations: 16.42 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.8208, allocations: 188.7 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8208, allocations: 3.938 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.8208, allocations: 16.91 kB / 0.955 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.821, allocations: 83.92 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.821, allocations: 0 / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.821, allocations: 5.531 kB / 0.9551 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.821, allocations: 5.078 kB / 0.9551 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.8211, allocations: 47.94 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.8216, allocations: 437.2 kB / 0.9555 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.8217, allocations: 37.03 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.8217, allocations: 5.094 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.8217, allocations: 35.34 kB / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8217, allocations: 0 / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.8219, allocations: 55.72 kB / 0.9557 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.8219, allocations: 81.05 kB / 0.9557 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8221, allocations: 163.8 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.8221, allocations: 25.7 kB / 0.9559 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.8221, allocations: 104.2 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.8221, allocations: 9.469 kB / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.8221, allocations: 8 kB / 0.956 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.8222, allocations: 320.9 kB / 0.9563 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.8222, allocations: 7.719 kB / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.8222, allocations: 18.03 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.16e-05/0.8223, allocations: 8.688 kB / 0.9564 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8223, allocations: 0 / 0.9564 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.669e-05/0.8224, allocations: 63.5 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8224, allocations: 6.812 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8224, allocations: 0 / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8224, allocations: 0.9688 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.8225, allocations: 5.312 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8225, allocations: 5.125 kB / 0.9564 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.8225, allocations: 2.125 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.8225, allocations: 2.094 kB / 0.9565 GB, free: 5.359 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.744e-05/0.8226, allocations: 117 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.8226, allocations: 15.3 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.8227, allocations: 10.84 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8227, allocations: 1.125 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8227, allocations: 1.094 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8227, allocations: 1.156 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.823, allocations: 469.8 kB / 0.957 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.823, allocations: 0 / 0.957 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.823, allocations: 8.25 kB / 0.957 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.823, allocations: 0 / 0.957 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.823, allocations: 5.141 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.823, allocations: 1.156 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.823, allocations: 0 / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.116e-05/0.8231, allocations: 96.19 kB / 0.9571 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.8232, allocations: 96.47 kB / 0.9572 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.8232, allocations: 1.219 kB / 0.9572 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.8232, allocations: 7.875 kB / 0.9572 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.8232, allocations: 5.203 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.8232, allocations: 1.156 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.8233, allocations: 119.5 kB / 0.9574 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8233, allocations: 0 / 0.9574 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001856/0.8235, allocations: 10.66 kB / 0.9574 GB, free: 4.383 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.0002559/0.8238, allocations: 0.6947 MB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.8239, allocations: 14.09 kB / 0.9581 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8239, allocations: 160 / 0.9581 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.8239, allocations: 8.125 kB / 0.9581 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.824, allocations: 19.91 kB / 0.9581 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.8248, allocations: 0.6923 MB / 0.9588 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.8249, allocations: 0.696 MB / 0.9595 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.825, allocations: 13.08 kB / 0.9595 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.825, allocations: 23 kB / 0.9595 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.825, allocations: 0 / 0.9595 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.8369, allocations: 1.471 MB / 0.9609 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.8371, allocations: 191.9 kB / 0.9611 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.478, allocations: 0 / 0.9611 GB, free: 1.395 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