Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.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.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,fileNamePrefix="Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT",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.0009202/0.0009201, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001169/0.001169, 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.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.273 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.419/2.419, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003527, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7764, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.00126/0.7777, allocations: 0.9753 MB / 0.9548 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.7788, allocations: 0.774 MB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.7789, allocations: 0 / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.7789, allocations: 0 / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.779, allocations: 13.23 kB / 0.9556 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.7794, allocations: 115.6 kB / 0.9557 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.7794, allocations: 37.62 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.7795, allocations: 1.156 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.7796, allocations: 22.14 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.7796, allocations: 18.98 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.7796, allocations: 2.906 kB / 0.9557 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.7801, allocations: 194.1 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7801, allocations: 9.391 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.7801, allocations: 33.48 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7803, allocations: 91.58 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7803, allocations: 0 / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7803, allocations: 1.375 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7803, allocations: 0 / 0.9561 GB, free: 6.426 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003692/0.7807, allocations: 374.4 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7807, allocations: 9.719 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.7808, allocations: 39.97 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.7808, allocations: 9.328 kB / 0.9565 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.7809, allocations: 169.1 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.7809, allocations: 2.5 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.781, allocations: 1.438 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.7811, allocations: 78.3 kB / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7811, allocations: 0 / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7811, allocations: 5.219 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7811, allocations: 1.125 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.7812, allocations: 31.19 kB / 0.9568 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.7833, allocations: 2.096 MB / 0.9588 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.751e-05/0.7833, allocations: 178.2 kB / 0.959 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.7834, allocations: 80.14 kB / 0.959 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.7834, allocations: 76.44 kB / 0.9591 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.7834, allocations: 105.8 kB / 0.9592 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.7834, allocations: 5.094 kB / 0.9592 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.534e-05/0.7835, allocations: 31.98 kB / 0.9593 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.7835, allocations: 126.7 kB / 0.9594 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.7836, allocations: 135.4 kB / 0.9595 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.7836, allocations: 25.7 kB / 0.9595 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.7837, allocations: 107 kB / 0.9596 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.7837, allocations: 1.062 kB / 0.9596 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.7837, allocations: 0 / 0.9596 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.7838, allocations: 320 kB / 0.9599 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.7838, allocations: 5.531 kB / 0.9599 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.7838, allocations: 35.08 kB / 0.96 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.7839, allocations: 15 kB / 0.96 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7839, allocations: 0.75 kB / 0.96 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001738/0.7841, allocations: 79.42 kB / 0.9601 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7841, allocations: 9.734 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7841, allocations: 0 / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7841, allocations: 2.281 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.289e-05/0.7842, allocations: 9.062 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7842, allocations: 1.312 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.7843, allocations: 2.594 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.7843, allocations: 2.594 kB / 0.9601 GB, free: 2.062 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 7.035e-05/0.7844, allocations: 199.7 kB / 0.9603 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.7844, allocations: 111.2 kB / 0.9604 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.7844, allocations: 109.6 kB / 0.9605 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.7845, allocations: 185.5 kB / 0.9607 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/0.7845, allocations: 181.7 kB / 0.9608 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.7845, allocations: 190.6 kB / 0.961 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.7847, allocations: 405.8 kB / 0.9614 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.7847, allocations: 105 kB / 0.9615 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.7847, allocations: 110 kB / 0.9616 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.094e-05/0.7848, allocations: 185.4 kB / 0.9618 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.7848, allocations: 185.3 kB / 0.962 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001122/0.7849, allocations: 181.5 kB / 0.9621 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-05/0.785, allocations: 177.8 kB / 0.9623 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.7852, allocations: 308.4 kB / 0.9626 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.7853, allocations: 191.3 kB / 0.9628 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.7854, allocations: 185.5 kB / 0.963 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.7855, allocations: 106.4 kB / 0.9631 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.7855, allocations: 185.5 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.7856, allocations: 102.2 kB / 0.9633 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.7857, allocations: 101.6 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7857, allocations: 0 / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003423/0.786, allocations: 54.28 kB / 0.9635 GB, free: 14.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005923/0.7866, allocations: 0.8804 MB / 0.9644 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.7867, allocations: 20.59 kB / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7867, allocations: 0 / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.7867, allocations: 0 / 0.9644 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.7872, allocations: 0.5298 MB / 0.9649 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.7877, allocations: 293.9 kB / 0.9652 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.788, allocations: 0.6787 MB / 0.9658 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.7881, allocations: 4.125 kB / 0.9658 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.7881, allocations: 22.77 kB / 0.9659 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7881, allocations: 0 / 0.9659 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.8008, allocations: 2.244 MB / 0.968 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.801, allocations: 207 kB / 0.9682 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.625, allocations: 3.938 kB / 0.9682 GB, free: 10.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.fmu > Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat does not exist to compare? outputFormat=mat