Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_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.007587/0.007588, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001547/0.001547, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.11 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003085/0.3486, allocations: 1.649 MB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9205/1.269, allocations: 151.5 MB / 1.357 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/1.269, allocations: 1.281 kB / 1.357 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/1.27, allocations: 17.16 kB / 1.357 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/1.27, allocations: 48.77 kB / 1.357 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/1.27, allocations: 145.1 kB / 1.357 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/1.271, allocations: 120.6 kB / 1.357 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/1.271, allocations: 30.27 kB / 1.357 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/1.272, allocations: 174 kB / 1.357 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/1.272, allocations: 45.48 kB / 1.357 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/1.272, allocations: 6.719 kB / 1.357 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/1.273, allocations: 181.3 kB / 1.358 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/1.273, allocations: 22 kB / 1.358 GB, free: 11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/1.273, allocations: 45.12 kB / 1.358 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/1.273, allocations: 188.8 kB / 1.358 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.273, allocations: 5.734 kB / 1.358 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.273, allocations: 0 / 1.358 GB, free: 10.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.273, allocations: 0 / 1.358 GB, free: 10.89 MB / 1.061 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.0008161/1.274, allocations: 441.5 kB / 1.358 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.274, allocations: 10.88 kB / 1.358 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/1.274, allocations: 38.42 kB / 1.358 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.275, allocations: 87.78 kB / 1.358 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/1.276, allocations: 215.8 kB / 1.359 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.276, allocations: 2.531 kB / 1.359 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/1.276, allocations: 9.406 kB / 1.359 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/1.276, allocations: 135.1 kB / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.276, allocations: 0 / 1.359 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/1.276, allocations: 9.156 kB / 1.359 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/1.276, allocations: 5.25 kB / 1.359 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/1.277, allocations: 135.9 kB / 1.359 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/1.278, allocations: 417 kB / 1.359 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/1.278, allocations: 252.9 kB / 1.36 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/1.279, allocations: 82.91 kB / 1.36 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/1.279, allocations: 1.75 kB / 1.36 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.279, allocations: 34.56 kB / 1.36 GB, free: 9.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/1.279, allocations: 1.656 kB / 1.36 GB, free: 9.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0007634/1.279, allocations: 210 kB / 1.36 GB, free: 9.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.279, allocations: 56.38 kB / 1.36 GB, free: 9.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.28, allocations: 147.5 kB / 1.36 GB, free: 9.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.28, allocations: 31.05 kB / 1.36 GB, free: 9.246 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/1.28, allocations: 98.42 kB / 1.36 GB, free: 9.152 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/1.28, allocations: 30.25 kB / 1.36 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/1.28, allocations: 22.66 kB / 1.36 GB, free: 9.109 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002042/1.28, allocations: 324.7 kB / 1.361 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/1.28, allocations: 60.72 kB / 1.361 GB, free: 8.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/1.281, allocations: 82.67 kB / 1.361 GB, free: 8.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/1.281, allocations: 120.5 kB / 1.361 GB, free: 8.695 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.281, allocations: 0 / 1.361 GB, free: 8.695 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004822/1.281, allocations: 157.9 kB / 1.361 GB, free: 8.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.281, allocations: 5.312 kB / 1.361 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.281, allocations: 1.219 kB / 1.361 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.281, allocations: 4 kB / 1.361 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/1.282, allocations: 33.02 kB / 1.361 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.282, allocations: 0 / 1.361 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.282, allocations: 19.41 kB / 1.361 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.282, allocations: 2.031 kB / 1.361 GB, free: 8.625 MB / 1.061 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 0.0001187/1.282, allocations: 124.3 kB / 1.361 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.282, allocations: 12.62 kB / 1.361 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/1.282, allocations: 18.23 kB / 1.361 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.282, allocations: 0 / 1.361 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.282, allocations: 1.5 kB / 1.361 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.282, allocations: 2.062 kB / 1.361 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/1.283, allocations: 470.8 kB / 1.362 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.283, allocations: 0 / 1.362 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/1.283, allocations: 26.19 kB / 1.362 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.283, allocations: 1.406 kB / 1.362 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.283, allocations: 0.8438 kB / 1.362 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.283, allocations: 6.688 kB / 1.362 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.283, allocations: 0 / 1.362 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/1.284, allocations: 258.9 kB / 1.362 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/1.284, allocations: 84.38 kB / 1.362 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/1.284, allocations: 5.891 kB / 1.362 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/1.284, allocations: 25.42 kB / 1.362 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/1.284, allocations: 7.156 kB / 1.362 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.284, allocations: 2.75 kB / 1.362 GB, free: 7.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.123e-05/1.284, allocations: 115.5 kB / 1.362 GB, free: 7.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.284, allocations: 3.938 kB / 1.362 GB, free: 7.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002992/1.285, allocations: 23.22 kB / 1.362 GB, free: 7.742 MB / 1.061 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.001169/1.286, allocations: 0.8085 MB / 1.363 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005295/1.286, allocations: 132.4 kB / 1.363 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.286, allocations: 0 / 1.363 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/1.287, allocations: 68.92 kB / 1.363 GB, free: 6.992 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/1.287, allocations: 32.64 kB / 1.363 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/1.29, allocations: 1.739 MB / 1.365 GB, free: 5.633 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/1.291, allocations: 0.7029 MB / 1.365 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001594/1.291, allocations: 35.05 kB / 1.366 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/1.291, allocations: 30.72 kB / 1.366 GB, free: 4.898 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/1.291, allocations: 0 / 1.366 GB, free: 4.898 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/1.315, allocations: 3.417 MB / 1.369 GB, free: 4.391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/9.188, allocations: 6.094 kB / 1.369 GB, free: 4.387 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,masFra1.phi,masFra1.X[1],masFra2.X[1],masFra1.T Variables in the result:P.k,P.y,Phi.duration,Phi.height,Phi.offset,Phi.startTime,Phi.y,T.duration,T.height,T.offset,T.startTime,T.y,masFra1.T,masFra1.X[1],masFra1.X[2],masFra1.p,masFra1.p_in,masFra1.phi,masFra1.use_p_in,masFra2.T,masFra2.X[1],masFra2.X[2],masFra2.p,masFra2.phi,masFra2.use_p_in,time