Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0009369/0.0009369, 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.001023/0.001023, 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.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.391/2.391, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.814, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0009114/0.8149, allocations: 0.5177 MB / 0.9541 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.815, allocations: 38.52 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.8151, allocations: 1.188 kB / 0.9541 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.8151, allocations: 3.938 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.8152, allocations: 12.94 kB / 0.9542 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.683e-05/0.8152, allocations: 15.41 kB / 0.9542 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.8153, allocations: 31.75 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.8155, allocations: 34.41 kB / 0.9542 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.8155, allocations: 17.75 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.8156, allocations: 15.61 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.8156, allocations: 1.562 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.8156, allocations: 2.188 kB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.8156, allocations: 17.19 kB / 0.9543 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.8157, allocations: 37.8 kB / 0.9543 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.044e-05/0.8157, allocations: 51.86 kB / 0.9544 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8157, allocations: 0 / 0.9544 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8157, allocations: 1.344 kB / 0.9544 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8158, allocations: 0 / 0.9544 GB, free: 7.504 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.000321/0.8161, allocations: 362.1 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.8161, allocations: 9.594 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.8162, allocations: 41.05 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.8162, allocations: 15.3 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.8164, allocations: 197.8 kB / 0.955 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.8164, allocations: 6.875 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.8164, allocations: 6.031 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.8166, allocations: 92.28 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8166, allocations: 0 / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.8166, allocations: 1.188 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8166, allocations: 2.594 kB / 0.9551 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.244e-05/0.8167, allocations: 42.69 kB / 0.9551 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.8171, allocations: 438.4 kB / 0.9555 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.8172, allocations: 41.19 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.8172, allocations: 0 / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.8172, allocations: 36.44 kB / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8172, allocations: 0 / 0.9556 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.8174, allocations: 54.62 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8174, allocations: 82.11 kB / 0.9557 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.8176, allocations: 164.2 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.8176, allocations: 25.7 kB / 0.9559 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.8177, allocations: 116.3 kB / 0.956 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.8177, allocations: 9.188 kB / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.8177, allocations: 0 / 0.956 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.8178, allocations: 325 kB / 0.9563 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.8178, allocations: 3.719 kB / 0.9563 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.8178, allocations: 21.97 kB / 0.9564 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.8178, allocations: 8.75 kB / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8178, allocations: 0 / 0.9564 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.451e-05/0.8179, allocations: 58.28 kB / 0.9564 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8179, allocations: 5.5 kB / 0.9564 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8179, allocations: 5.031 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.818, allocations: 0.9688 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.818, allocations: 5.312 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8181, allocations: 1.188 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.8181, allocations: 2.156 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8181, allocations: 5.125 kB / 0.9565 GB, free: 5.363 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 6.273e-05/0.8182, allocations: 120.9 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.8182, allocations: 12.53 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.8182, allocations: 10.83 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8182, allocations: 1.156 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8183, allocations: 0 / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8183, allocations: 1.094 kB / 0.9566 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.8186, allocations: 475 kB / 0.957 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8186, allocations: 4.062 kB / 0.9571 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.8186, allocations: 6.641 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8186, allocations: 1.562 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.8186, allocations: 0 / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8186, allocations: 1.125 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8186, allocations: 1.125 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.8187, allocations: 96.2 kB / 0.9572 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.8188, allocations: 87.22 kB / 0.9572 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.8188, allocations: 1.156 kB / 0.9572 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.8188, allocations: 5.156 kB / 0.9572 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.8188, allocations: 5.234 kB / 0.9572 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.8188, allocations: 1.125 kB / 0.9572 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.8189, allocations: 118.8 kB / 0.9574 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8189, allocations: 0 / 0.9574 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001855/0.8191, allocations: 15 kB / 0.9574 GB, free: 4.391 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.0002664/0.8194, allocations: 0.6941 MB / 0.9581 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.573e-05/0.8195, allocations: 19.06 kB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8195, allocations: 3.938 kB / 0.9581 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.8195, allocations: 12.14 kB / 0.9581 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.8196, allocations: 10.08 kB / 0.9581 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.8204, allocations: 0.687 MB / 0.9588 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.8206, allocations: 0.6963 MB / 0.9594 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.8206, allocations: 13.11 kB / 0.9595 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.8207, allocations: 26.7 kB / 0.9595 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8207, allocations: 0 / 0.9595 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.8318, allocations: 1.472 MB / 0.9609 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.832, allocations: 196 kB / 0.9611 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.479, allocations: 0 / 0.9611 GB, free: 1.398 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat does not exist to compare? outputFormat=mat