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.001112/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.25 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2688, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002813/0.2717, allocations: 1.649 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.4121, allocations: 151.6 MB / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.4122, allocations: 0 / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.4124, allocations: 23.8 kB / 1.203 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.4126, allocations: 43.7 kB / 1.203 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.413, allocations: 143.3 kB / 1.203 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4131, allocations: 131.6 kB / 1.203 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4132, allocations: 29.62 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.4143, allocations: 162.5 kB / 1.203 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.4144, allocations: 43.78 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4144, allocations: 8 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.4147, allocations: 175.7 kB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.4148, allocations: 27.92 kB / 1.203 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.4149, allocations: 55.66 kB / 1.203 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.4151, allocations: 179.5 kB / 1.203 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4152, allocations: 0 / 1.203 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4152, allocations: 3.938 kB / 1.203 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4152, allocations: 0 / 1.203 GB, free: 13.53 MB / 0.9669 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.0005535/0.4157, allocations: 439 kB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4158, allocations: 12.62 kB / 1.204 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.4158, allocations: 38.75 kB / 1.204 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.4167, allocations: 91.64 kB / 1.204 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4169, allocations: 198.8 kB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4169, allocations: 8 kB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.417, allocations: 8 kB / 1.204 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.4174, allocations: 139.5 kB / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4174, allocations: 0 / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.4174, allocations: 3.938 kB / 1.204 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4174, allocations: 7.938 kB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.418, allocations: 131.9 kB / 1.205 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.4187, allocations: 420.3 kB / 1.205 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.4194, allocations: 255.7 kB / 1.205 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.4197, allocations: 72.8 kB / 1.205 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4197, allocations: 7.938 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.4197, allocations: 34.56 kB / 1.205 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.4197, allocations: 0 / 1.205 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007851/0.4205, allocations: 213.7 kB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.4206, allocations: 51.41 kB / 1.206 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4207, allocations: 149.1 kB / 1.206 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.4207, allocations: 29.7 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.4207, allocations: 108.1 kB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4208, allocations: 23.64 kB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.4208, allocations: 25.7 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.4209, allocations: 330.8 kB / 1.206 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.4212, allocations: 47.95 kB / 1.206 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.4214, allocations: 86.52 kB / 1.206 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.4218, allocations: 116.8 kB / 1.206 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4218, allocations: 0 / 1.206 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004831/0.4223, allocations: 169.4 kB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4223, allocations: 4 kB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4223, allocations: 4 kB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4224, allocations: 0 / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.4226, allocations: 31.89 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4226, allocations: 4 kB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4227, allocations: 19.98 kB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.4228, allocations: 7.938 kB / 1.207 GB, free: 10.05 MB / 0.9669 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.037e-05/0.4229, allocations: 117.8 kB / 1.207 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4229, allocations: 7.906 kB / 1.207 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.423, allocations: 20.66 kB / 1.207 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.423, allocations: 0 / 1.207 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.423, allocations: 4 kB / 1.207 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.423, allocations: 0 / 1.207 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.4238, allocations: 462.2 kB / 1.207 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4238, allocations: 4 kB / 1.207 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.424, allocations: 27.97 kB / 1.207 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.424, allocations: 4 kB / 1.207 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.424, allocations: 7.984 kB / 1.207 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.424, allocations: 7.938 kB / 1.207 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.424, allocations: 0 / 1.207 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.4245, allocations: 251.3 kB / 1.207 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.4246, allocations: 92.8 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4246, allocations: 8 kB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4248, allocations: 23.84 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.4248, allocations: 4 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.4249, allocations: 8 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.4249, allocations: 111.2 kB / 1.208 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4249, allocations: 0 / 1.208 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000262/0.4252, allocations: 28 kB / 1.208 GB, free: 8.781 MB / 0.9669 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.0007857/0.426, allocations: 0.7982 MB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.4265, allocations: 132.3 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4265, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.4267, allocations: 68.03 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4271, allocations: 40.06 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4295, allocations: 1.728 MB / 1.21 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4297, allocations: 0.6963 MB / 1.211 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.4298, allocations: 32.44 kB / 1.211 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.4299, allocations: 27.42 kB / 1.211 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.4299, allocations: 4 kB / 1.211 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/1.734, allocations: 3.323 MB / 1.214 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/17.59, allocations: 5.781 kB / 1.214 GB, free: 1.941 MB / 0.9669 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) Reference file matches