Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.118/2.118, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8781 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.672e-05, allocations: 5.781 kB / 0.8781 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002762/0.002788, allocations: 1.555 MB / 0.8797 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1145/0.1173, allocations: 127.7 MB / 1.004 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1173, allocations: 4 kB / 1.004 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.1174, allocations: 3.938 kB / 1.004 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.1174, allocations: 7.875 kB / 1.004 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1178, allocations: 79.58 kB / 1.004 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.1179, allocations: 47.8 kB / 1.005 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.118, allocations: 15.92 kB / 1.005 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.118, allocations: 23.98 kB / 1.005 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.1181, allocations: 31.95 kB / 1.005 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1181, allocations: 4 kB / 1.005 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.1182, allocations: 19.94 kB / 1.005 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.1182, allocations: 7.984 kB / 1.005 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1182, allocations: 15.92 kB / 1.005 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1184, allocations: 51.83 kB / 1.005 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1184, allocations: 0 / 1.005 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1184, allocations: 0 / 1.005 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1184, allocations: 3.938 kB / 1.005 GB, free: 4.203 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004309/0.1188, allocations: 396.4 kB / 1.005 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1189, allocations: 12.03 kB / 1.005 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.119, allocations: 16.83 kB / 1.005 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.1191, allocations: 116.6 kB / 1.005 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1191, allocations: 8.375 kB / 1.005 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1191, allocations: 4.359 kB / 1.005 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1193, allocations: 66.94 kB / 1.005 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1193, allocations: 192 / 1.005 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1193, allocations: 384 / 1.005 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1193, allocations: 4.375 kB / 1.005 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.1193, allocations: 15.86 kB / 1.005 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.1197, allocations: 287.7 kB / 1.006 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.1197, allocations: 31.06 kB / 1.006 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.1198, allocations: 15.69 kB / 1.006 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1198, allocations: 0 / 1.006 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1198, allocations: 45.27 kB / 1.006 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1198, allocations: 0 / 1.006 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001523/0.12, allocations: 45.78 kB / 1.006 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.12, allocations: 51.41 kB / 1.006 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.1201, allocations: 169.9 kB / 1.006 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1201, allocations: 33.69 kB / 1.006 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.1201, allocations: 138.8 kB / 1.006 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1201, allocations: 7.891 kB / 1.006 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1202, allocations: 23.38 kB / 1.006 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1203, allocations: 496.1 kB / 1.007 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.1203, allocations: 7.938 kB / 1.007 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.1203, allocations: 4 kB / 1.007 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.1203, allocations: 15.69 kB / 1.007 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1203, allocations: 0 / 1.007 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.771e-05/0.1204, allocations: 53.58 kB / 1.007 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1204, allocations: 14.28 kB / 1.007 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1204, allocations: 4 kB / 1.007 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1204, allocations: 0 / 1.007 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1205, allocations: 11.98 kB / 1.007 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1205, allocations: 3.938 kB / 1.007 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.1206, allocations: 4 kB / 1.007 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1206, allocations: 0 / 1.007 GB, free: 1.934 MB / 0.9636 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.404e-05/0.1206, allocations: 160.6 kB / 1.007 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.1206, allocations: 7.938 kB / 1.007 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1207, allocations: 16 kB / 1.007 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1207, allocations: 4 kB / 1.007 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1207, allocations: 0 / 1.007 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1207, allocations: 0 / 1.007 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.591e-05/0.1208, allocations: 124.9 kB / 1.007 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1208, allocations: 0 / 1.007 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.1208, allocations: 11.98 kB / 1.007 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1208, allocations: 0 / 1.007 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1208, allocations: 3.938 kB / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.1208, allocations: 0 / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1208, allocations: 0 / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1209, allocations: 203.9 kB / 1.007 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.1209, allocations: 3.953 kB / 1.007 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1209, allocations: 3.938 kB / 1.007 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.121, allocations: 15.98 kB / 1.007 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.121, allocations: 0 / 1.007 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.121, allocations: 0 / 1.007 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.1211, allocations: 135.5 kB / 1.007 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1211, allocations: 0 / 1.007 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001408/0.1212, allocations: 8 kB / 1.007 GB, free: 1.184 MB / 0.9636 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 8.723e-05/0.1213, allocations: 95.25 kB / 1.007 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.1214, allocations: 23.67 kB / 1.007 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1214, allocations: 4 kB / 1.007 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.1214, allocations: 15.62 kB / 1.007 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.1216, allocations: 16.2 kB / 1.008 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1222, allocations: 162.1 kB / 1.008 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.1222, allocations: 67.22 kB / 1.008 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.1222, allocations: 0 / 1.008 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1223, allocations: 12.5 kB / 1.008 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.1223, allocations: 0 / 1.008 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of Templates: time 0.002425/0.1247, allocations: 0.9485 MB / 1.009 GB, free: 15.79 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.535355685278773]