Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.004788/0.004788, allocations: 98.06 kB / 15.73 MB, free: 6.012 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.001276/0.001276, allocations: 197 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.574/2.574, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6589, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00251/0.6615, allocations: 1.645 MB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1499/0.8114, allocations: 151.5 MB / 1.37 GB, free: 8.273 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.8115, allocations: 8 kB / 1.37 GB, free: 8.266 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.8116, allocations: 19.8 kB / 1.37 GB, free: 8.246 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.8118, allocations: 39.7 kB / 1.37 GB, free: 8.207 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.8122, allocations: 147.4 kB / 1.37 GB, free: 8.062 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.8123, allocations: 123.6 kB / 1.37 GB, free: 7.941 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8124, allocations: 29.39 kB / 1.37 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.8136, allocations: 163.9 kB / 1.37 GB, free: 7.773 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.8137, allocations: 43.83 kB / 1.37 GB, free: 7.73 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.8137, allocations: 8 kB / 1.37 GB, free: 7.723 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.8141, allocations: 183.6 kB / 1.37 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.8141, allocations: 27.92 kB / 1.37 GB, free: 7.516 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.8142, allocations: 47.72 kB / 1.371 GB, free: 7.469 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.8145, allocations: 187 kB / 1.371 GB, free: 7.289 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8145, allocations: 4 kB / 1.371 GB, free: 7.285 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8145, allocations: 0 / 1.371 GB, free: 7.285 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8145, allocations: 0 / 1.371 GB, free: 7.285 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005885/0.8151, allocations: 450.6 kB / 1.371 GB, free: 6.797 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.8152, allocations: 16.02 kB / 1.371 GB, free: 6.781 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.8152, allocations: 38.75 kB / 1.371 GB, free: 6.734 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.816, allocations: 79.73 kB / 1.371 GB, free: 6.656 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.8163, allocations: 210.9 kB / 1.371 GB, free: 6.41 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.8163, allocations: 8 kB / 1.371 GB, free: 6.402 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.8163, allocations: 8 kB / 1.372 GB, free: 6.395 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.8167, allocations: 135.1 kB / 1.372 GB, free: 6.258 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8167, allocations: 0 / 1.372 GB, free: 6.258 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.8167, allocations: 7.938 kB / 1.372 GB, free: 6.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.8167, allocations: 4 kB / 1.372 GB, free: 6.246 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.8173, allocations: 135.8 kB / 1.372 GB, free: 6.113 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.818, allocations: 420.5 kB / 1.372 GB, free: 5.652 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.8187, allocations: 247.7 kB / 1.372 GB, free: 5.383 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.8189, allocations: 80.8 kB / 1.372 GB, free: 5.301 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.8189, allocations: 3.984 kB / 1.372 GB, free: 5.297 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.819, allocations: 30.56 kB / 1.373 GB, free: 5.258 MB / 1.092 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.819, allocations: 0 / 1.373 GB, free: 5.258 MB / 1.092 GB Notification: Performance of matching and sorting (n=8): time 0.0007542/0.8197, allocations: 221.4 kB / 1.373 GB, free: 5.035 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.8198, allocations: 51.41 kB / 1.373 GB, free: 4.973 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.8199, allocations: 146.5 kB / 1.373 GB, free: 4.816 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.8199, allocations: 25.7 kB / 1.373 GB, free: 4.785 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.82, allocations: 108.2 kB / 1.373 GB, free: 4.676 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.82, allocations: 31.73 kB / 1.373 GB, free: 4.645 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.8201, allocations: 25.72 kB / 1.373 GB, free: 4.613 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8202, allocations: 322.8 kB / 1.373 GB, free: 4.289 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.8204, allocations: 55.94 kB / 1.373 GB, free: 4.234 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.8207, allocations: 78.52 kB / 1.374 GB, free: 4.148 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.8211, allocations: 113.2 kB / 1.374 GB, free: 4.035 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8211, allocations: 0 / 1.374 GB, free: 4.035 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004798/0.8216, allocations: 173.5 kB / 1.374 GB, free: 3.859 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.8216, allocations: 4 kB / 1.374 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.8216, allocations: 0 / 1.374 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.8216, allocations: 0 / 1.374 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.8218, allocations: 27.97 kB / 1.374 GB, free: 3.828 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8218, allocations: 0 / 1.374 GB, free: 3.828 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.822, allocations: 35.86 kB / 1.374 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.822, allocations: 3.938 kB / 1.374 GB, free: 3.789 MB / 1.092 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.8221, allocations: 117.8 kB / 1.374 GB, free: 3.664 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.8221, allocations: 11.95 kB / 1.374 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.8222, allocations: 16.7 kB / 1.374 GB, free: 3.629 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8222, allocations: 8 kB / 1.374 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8222, allocations: 0 / 1.374 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8222, allocations: 3.938 kB / 1.374 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.823, allocations: 458.3 kB / 1.374 GB, free: 3.113 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.823, allocations: 4 kB / 1.374 GB, free: 3.109 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.8232, allocations: 27.97 kB / 1.374 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8232, allocations: 4 kB / 1.374 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.8232, allocations: 4 kB / 1.375 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8232, allocations: 7.922 kB / 1.375 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8232, allocations: 0 / 1.375 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.8237, allocations: 251.3 kB / 1.375 GB, free: 2.805 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.8238, allocations: 93 kB / 1.375 GB, free: 2.695 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.8238, allocations: 4 kB / 1.375 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.824, allocations: 15.92 kB / 1.375 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.824, allocations: 7.984 kB / 1.375 GB, free: 2.668 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.8241, allocations: 12 kB / 1.375 GB, free: 2.656 MB / 1.092 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.8241, allocations: 113.4 kB / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8241, allocations: 0 / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002377/0.8244, allocations: 31.94 kB / 1.375 GB, free: 2.516 MB / 1.092 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000824/0.8252, allocations: 0.8065 MB / 1.376 GB, free: 1.684 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.8257, allocations: 119.9 kB / 1.376 GB, free: 1.566 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8257, allocations: 0 / 1.376 GB, free: 1.566 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.8259, allocations: 67.88 kB / 1.376 GB, free: 1.5 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.8263, allocations: 46.88 kB / 1.376 GB, free: 1.457 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.8287, allocations: 1.742 MB / 1.378 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.8289, allocations: 0.708 MB / 1.378 GB, free: 14.9 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000111/0.8291, allocations: 20.42 kB / 1.378 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.8291, allocations: 31.42 kB / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of SimCode: time 2.41e-07/0.8291, allocations: 0 / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.432/2.261, allocations: 3.36 MB / 1.382 GB, free: 11.62 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/16.12, allocations: 7.875 kB / 1.382 GB, free: 11.62 MB / 1.107 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches