Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.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.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",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.001032/0.001033, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001346/0.001346, allocations: 172.7 kB / 15.95 MB, free: 208 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.418 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.33/2.33, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8149, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0007961/0.8158, allocations: 395.5 kB / 0.9542 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.8175, allocations: 1.334 MB / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.8175, allocations: 1.125 kB / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.8176, allocations: 0 / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.8177, allocations: 5.281 kB / 0.9555 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.8181, allocations: 92.23 kB / 0.9556 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.8182, allocations: 44.08 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8183, allocations: 9.172 kB / 0.9557 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.8184, allocations: 14.38 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.8185, allocations: 22.56 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8185, allocations: 2.062 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.8188, allocations: 145.4 kB / 0.9559 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.8188, allocations: 5.75 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.8188, allocations: 28.33 kB / 0.9559 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.819, allocations: 101 kB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.819, allocations: 0 / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.819, allocations: 0 / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.819, allocations: 0.875 kB / 0.956 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.0004346/0.8195, allocations: 374.9 kB / 0.9563 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.8195, allocations: 8.844 kB / 0.9564 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.8196, allocations: 39.62 kB / 0.9564 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.82, allocations: 33.86 kB / 0.9564 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.555e-05/0.8201, allocations: 169.2 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.8201, allocations: 9.156 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.8201, allocations: 6.328 kB / 0.9566 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.8203, allocations: 90.31 kB / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8204, allocations: 0 / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8204, allocations: 5.109 kB / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8204, allocations: 0 / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.8207, allocations: 90.5 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.8212, allocations: 317 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.8214, allocations: 90.23 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.8216, allocations: 41.66 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.8216, allocations: 1.406 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8216, allocations: 38.5 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8216, allocations: 1.344 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004787/0.8221, allocations: 140.1 kB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.8221, allocations: 51.41 kB / 0.9574 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.8222, allocations: 114.1 kB / 0.9575 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.8222, allocations: 27.14 kB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.8223, allocations: 93 kB / 0.9576 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.8223, allocations: 14.06 kB / 0.9577 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.8223, allocations: 8 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.8224, allocations: 312.2 kB / 0.958 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.8225, allocations: 37.62 kB / 0.958 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.8226, allocations: 44.03 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.8228, allocations: 37.81 kB / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8228, allocations: 0 / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002845/0.8231, allocations: 119.3 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8231, allocations: 1.938 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.8231, allocations: 0 / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.8231, allocations: 1.938 kB / 0.9582 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.8233, allocations: 16.77 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8233, allocations: 9.672 kB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.8234, allocations: 16.75 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.8234, allocations: 5.266 kB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.668e-05/0.8234, allocations: 107.4 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.8235, allocations: 14.86 kB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.8235, allocations: 13.44 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8235, allocations: 0 / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8235, allocations: 4 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8235, allocations: 1.406 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.8237, allocations: 176 kB / 0.9585 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8237, allocations: 3.984 kB / 0.9586 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.8238, allocations: 16.33 kB / 0.9586 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8238, allocations: 5.141 kB / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8238, allocations: 1.5 kB / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8238, allocations: 0 / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8239, allocations: 0 / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.8242, allocations: 204.2 kB / 0.9588 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.8242, allocations: 86.84 kB / 0.9589 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.8242, allocations: 4 kB / 0.9589 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.8243, allocations: 19.84 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.8244, allocations: 6.469 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.8244, allocations: 1.531 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.8244, allocations: 90.67 kB / 0.959 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8244, allocations: 0 / 0.959 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002474/0.8247, allocations: 18.56 kB / 0.959 GB, free: 3.594 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0005066/0.8252, allocations: 0.7545 MB / 0.9597 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.8255, allocations: 82.81 kB / 0.9598 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8255, allocations: 0 / 0.9598 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.8257, allocations: 40.7 kB / 0.9598 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.826, allocations: 14.55 kB / 0.9599 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.827, allocations: 0.5617 MB / 0.9604 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.8272, allocations: 0.6841 MB / 0.9611 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.8273, allocations: 16.59 kB / 0.9611 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.8273, allocations: 18.67 kB / 0.9611 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8273, allocations: 0 / 0.9611 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.8384, allocations: 1.799 MB / 0.9629 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.8386, allocations: 219.7 kB / 0.9631 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.488, allocations: 0 / 0.9631 GB, free: 0.5859 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat