Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.001151/0.001151, allocations: 99.47 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.001187/0.001187, 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.469/2.469, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8116, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001001/0.8127, allocations: 0.5142 MB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.794e-05/0.8128, allocations: 41.98 kB / 0.9541 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.8128, allocations: 1.188 kB / 0.9541 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.8128, allocations: 7.922 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.8129, allocations: 5.109 kB / 0.9541 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.696e-05/0.813, allocations: 20.14 kB / 0.9542 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.813, allocations: 39.34 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.8132, allocations: 26.67 kB / 0.9542 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.8132, allocations: 20.84 kB / 0.9542 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.8133, allocations: 23.89 kB / 0.9543 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.8133, allocations: 6.219 kB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.8133, allocations: 1.906 kB / 0.9543 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.8133, allocations: 9.719 kB / 0.9543 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.8134, allocations: 29.39 kB / 0.9543 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.082e-05/0.8135, allocations: 56.94 kB / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.8135, allocations: 0 / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8135, allocations: 0 / 0.9544 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8135, allocations: 0 / 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.0003411/0.8138, allocations: 362.2 kB / 0.9547 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.8139, allocations: 17.86 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.8139, allocations: 36.06 kB / 0.9548 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.814, allocations: 16.77 kB / 0.9548 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.8141, allocations: 194 kB / 0.955 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.8142, allocations: 2.562 kB / 0.955 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.8142, allocations: 8.781 kB / 0.955 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.8143, allocations: 87.7 kB / 0.9551 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.8143, allocations: 0 / 0.9551 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8144, allocations: 5.438 kB / 0.9551 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.8144, allocations: 6.156 kB / 0.9551 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.8145, allocations: 43.81 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.8149, allocations: 429.6 kB / 0.9555 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.815, allocations: 40.42 kB / 0.9556 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.815, allocations: 9.062 kB / 0.9556 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.815, allocations: 31.75 kB / 0.9556 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.815, allocations: 0 / 0.9556 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/0.8152, allocations: 54.47 kB / 0.9557 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.8152, allocations: 82.42 kB / 0.9557 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.8153, allocations: 167.7 kB / 0.9559 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.8153, allocations: 25.7 kB / 0.9559 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.8154, allocations: 104.2 kB / 0.956 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.8154, allocations: 13.02 kB / 0.956 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.8154, allocations: 0 / 0.956 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.8155, allocations: 325.1 kB / 0.9563 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.8155, allocations: 7.438 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.8155, allocations: 22.67 kB / 0.9564 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.8155, allocations: 8.281 kB / 0.9564 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8155, allocations: 1.219 kB / 0.9564 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.63e-05/0.8156, allocations: 57.67 kB / 0.9564 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8156, allocations: 5.281 kB / 0.9564 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8156, allocations: 9.406 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8157, allocations: 1.188 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.8157, allocations: 9.766 kB / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8157, allocations: 64 / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.8158, allocations: 6.406 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.8158, allocations: 1.469 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 5.609e-05/0.8158, allocations: 121.7 kB / 0.9566 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.8159, allocations: 7.406 kB / 0.9566 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.8159, allocations: 11.44 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8159, allocations: 3.984 kB / 0.9566 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8159, allocations: 1.469 kB / 0.9566 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.8159, allocations: 0 / 0.9566 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.8162, allocations: 474 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8162, allocations: 1.219 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.8162, allocations: 2.312 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8163, allocations: 1.281 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.8163, allocations: 1.188 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8163, allocations: 0 / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8163, allocations: 1.156 kB / 0.9571 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.255e-05/0.8163, allocations: 96.16 kB / 0.9572 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.8164, allocations: 84.42 kB / 0.9572 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8164, allocations: 1.375 kB / 0.9572 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.8164, allocations: 11.88 kB / 0.9572 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.8165, allocations: 9.125 kB / 0.9573 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.8165, allocations: 1.469 kB / 0.9573 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.8165, allocations: 122.5 kB / 0.9574 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8165, allocations: 1.312 kB / 0.9574 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001812/0.8167, allocations: 10.44 kB / 0.9574 GB, free: 4.355 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.0002683/0.817, allocations: 0.69 MB / 0.9581 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.8171, allocations: 18.34 kB / 0.9581 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8171, allocations: 0 / 0.9581 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.8171, allocations: 4.25 kB / 0.9581 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.8172, allocations: 10.92 kB / 0.9581 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.818, allocations: 0.6954 MB / 0.9588 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.8181, allocations: 0.6999 MB / 0.9595 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.8181, allocations: 5.125 kB / 0.9595 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.8182, allocations: 26.98 kB / 0.9595 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8182, allocations: 0 / 0.9595 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.8307, allocations: 1.473 MB / 0.9609 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.831, allocations: 192.5 kB / 0.9611 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.53, allocations: 0 / 0.9611 GB, free: 1.371 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat does not exist to compare? outputFormat=mat