Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 100.1 kB / 15.88 MB, free: 12 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.00157/0.00157, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.41 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002559/0.2981, allocations: 1.337 MB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.125/0.4232, allocations: 129.9 MB / 1.181 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.4232, allocations: 4 kB / 1.181 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.4233, allocations: 0 / 1.181 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.4234, allocations: 11.92 kB / 1.181 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.4238, allocations: 47.8 kB / 1.181 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.4238, allocations: 19.94 kB / 1.181 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.4239, allocations: 0 / 1.181 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.4239, allocations: 19.91 kB / 1.181 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.424, allocations: 11.94 kB / 1.181 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.424, allocations: 0 / 1.181 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.4241, allocations: 11.98 kB / 1.181 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.4241, allocations: 8 kB / 1.181 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.4241, allocations: 7.938 kB / 1.181 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.4242, allocations: 16.2 kB / 1.181 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4242, allocations: 4 kB / 1.181 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4243, allocations: 0 / 1.181 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.4243, allocations: 0 / 1.181 GB, free: 4.438 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000396/0.4247, allocations: 331.5 kB / 1.181 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4247, allocations: 8.031 kB / 1.181 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4248, allocations: 4.938 kB / 1.181 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4249, allocations: 180.2 kB / 1.182 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.425, allocations: 30.27 kB / 1.182 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.425, allocations: 4.375 kB / 1.182 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4251, allocations: 38.19 kB / 1.182 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4251, allocations: 3.938 kB / 1.182 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4251, allocations: 0 / 1.182 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4251, allocations: 4 kB / 1.182 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.4252, allocations: 11.98 kB / 1.182 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.4254, allocations: 157.7 kB / 1.182 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4255, allocations: 30.58 kB / 1.182 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.4256, allocations: 12.94 kB / 1.182 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.4257, allocations: 89.09 kB / 1.182 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4258, allocations: 34.5 kB / 1.182 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4258, allocations: 4 kB / 1.182 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/0.426, allocations: 65.61 kB / 1.182 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4261, allocations: 51.41 kB / 1.182 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.4262, allocations: 98.03 kB / 1.182 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4262, allocations: 25.7 kB / 1.182 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.4262, allocations: 88.08 kB / 1.182 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.4262, allocations: 3.906 kB / 1.182 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.4263, allocations: 21.64 kB / 1.182 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.4264, allocations: 318.8 kB / 1.183 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.4264, allocations: 4 kB / 1.183 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.4265, allocations: 12.17 kB / 1.183 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/0.4266, allocations: 28.86 kB / 1.183 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4266, allocations: 0 / 1.183 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001176/0.4267, allocations: 49.69 kB / 1.183 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4267, allocations: 7.938 kB / 1.183 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4267, allocations: 4 kB / 1.183 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4268, allocations: 0 / 1.183 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.4268, allocations: 8 kB / 1.183 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4268, allocations: 3.984 kB / 1.183 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.4269, allocations: 3.906 kB / 1.183 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4269, allocations: 0 / 1.183 GB, free: 2.484 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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 6.954e-05/0.427, allocations: 117.8 kB / 1.183 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.427, allocations: 3.938 kB / 1.183 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.4271, allocations: 57.17 kB / 1.183 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4271, allocations: 4 kB / 1.183 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4271, allocations: 0 / 1.183 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4272, allocations: 0 / 1.183 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.417e-05/0.4273, allocations: 153.7 kB / 1.183 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4273, allocations: 0 / 1.183 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.4273, allocations: 4 kB / 1.183 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4273, allocations: 3.938 kB / 1.183 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4273, allocations: 0 / 1.183 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4273, allocations: 4 kB / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4273, allocations: 8 kB / 1.183 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.4275, allocations: 77.05 kB / 1.183 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.4275, allocations: 81.11 kB / 1.183 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4276, allocations: 3.938 kB / 1.183 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.4276, allocations: 3.984 kB / 1.183 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.4276, allocations: 4 kB / 1.183 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.4276, allocations: 0 / 1.183 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.4277, allocations: 87.28 kB / 1.183 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4277, allocations: 3.938 kB / 1.183 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000186/0.4279, allocations: 11.94 kB / 1.183 GB, free: 1.766 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0001462/0.428, allocations: 111.2 kB / 1.183 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4282, allocations: 27.91 kB / 1.183 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4282, allocations: 0 / 1.183 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.4282, allocations: 8.375 kB / 1.183 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.4284, allocations: 15.88 kB / 1.183 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.4287, allocations: 159.1 kB / 1.184 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.4289, allocations: 0.6731 MB / 1.184 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.429, allocations: 7.438 kB / 1.184 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.429, allocations: 0 / 1.184 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of Templates: time 0.001923/0.4309, allocations: 0.5689 MB / 1.185 GB, free: 132 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches