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.0009902/0.0009901, allocations: 91.92 kB / 16.02 MB, free: 80 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.001205/0.001205, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 10.62 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001485/0.2898, allocations: 1.002 MB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.4203, allocations: 128.5 MB / 1.186 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.4204, allocations: 0 / 1.186 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.4204, allocations: 0 / 1.186 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.4205, allocations: 11.92 kB / 1.186 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.4209, allocations: 51.8 kB / 1.186 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.4209, allocations: 19.94 kB / 1.186 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.421, allocations: 0 / 1.186 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.421, allocations: 11.98 kB / 1.186 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.4211, allocations: 15.92 kB / 1.186 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.4211, allocations: 0 / 1.186 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.4212, allocations: 15.92 kB / 1.186 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.4212, allocations: 4 kB / 1.186 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.4213, allocations: 33.64 kB / 1.186 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.4214, allocations: 16.2 kB / 1.186 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4214, allocations: 4 kB / 1.186 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4214, allocations: 4 kB / 1.186 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4214, allocations: 0 / 1.186 GB, free: 2.785 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.0004058/0.4218, allocations: 327.5 kB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4219, allocations: 8.031 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4219, allocations: 4.938 kB / 1.186 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4221, allocations: 168.3 kB / 1.186 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.4222, allocations: 30.27 kB / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.4222, allocations: 384 / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4223, allocations: 46.25 kB / 1.187 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4223, allocations: 7.875 kB / 1.187 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4223, allocations: 0 / 1.187 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4223, allocations: 3.938 kB / 1.187 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.4224, allocations: 11.98 kB / 1.187 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.4226, allocations: 161.6 kB / 1.187 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.4227, allocations: 30.58 kB / 1.187 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.4228, allocations: 16.94 kB / 1.187 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.423, allocations: 89.09 kB / 1.187 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.423, allocations: 34.56 kB / 1.187 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.423, allocations: 3.984 kB / 1.187 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.4232, allocations: 61.55 kB / 1.187 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.4233, allocations: 59.34 kB / 1.187 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.4234, allocations: 97.86 kB / 1.187 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4234, allocations: 25.7 kB / 1.187 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.4234, allocations: 80.14 kB / 1.187 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4234, allocations: 7.906 kB / 1.187 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.4235, allocations: 17.7 kB / 1.187 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4236, allocations: 310.8 kB / 1.187 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.4236, allocations: 4 kB / 1.187 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.4237, allocations: 11.98 kB / 1.188 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.725e-05/0.4238, allocations: 28.78 kB / 1.188 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4238, allocations: 0 / 1.188 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000126/0.4239, allocations: 49.69 kB / 1.188 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4239, allocations: 7.938 kB / 1.188 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4239, allocations: 0 / 1.188 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.424, allocations: 0 / 1.188 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.424, allocations: 4 kB / 1.188 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.424, allocations: 4 kB / 1.188 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.4241, allocations: 11.98 kB / 1.188 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4241, allocations: 0 / 1.188 GB, free: 0.8438 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 7.817e-05/0.4242, allocations: 105.8 kB / 1.188 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.4242, allocations: 11.84 kB / 1.188 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.4244, allocations: 61.11 kB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4244, allocations: 0 / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4244, allocations: 0 / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4244, allocations: 8 kB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.4245, allocations: 153.7 kB / 1.188 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4245, allocations: 0 / 1.188 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.4246, allocations: 4 kB / 1.188 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4246, allocations: 3.938 kB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4246, allocations: 4 kB / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4246, allocations: 0 / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4246, allocations: 0 / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.4247, allocations: 81.61 kB / 1.188 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4248, allocations: 85.05 kB / 1.188 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4248, allocations: 3.938 kB / 1.188 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.015e-05/0.4249, allocations: 3.984 kB / 1.188 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.4249, allocations: 11.94 kB / 1.188 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4249, allocations: 0 / 1.188 GB, free: 220 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.425, allocations: 79.31 kB / 1.188 GB, free: 140 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.425, allocations: 0 / 1.188 GB, free: 140 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001898/0.4252, allocations: 15.94 kB / 1.188 GB, free: 124 kB / 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.0001616/0.4253, allocations: 111.2 kB / 1.188 GB, free: 0 / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.4255, allocations: 23.98 kB / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4255, allocations: 0 / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.4256, allocations: 11.92 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.4258, allocations: 8 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.4261, allocations: 174.1 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.4263, allocations: 0.677 MB / 1.189 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.4264, allocations: 11.44 kB / 1.189 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.4264, allocations: 0 / 1.189 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.001954/0.4283, allocations: 0.5689 MB / 1.19 GB, free: 14.47 MB / 0.9512 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