Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.0009154/0.0009154, allocations: 81.86 kB / 20.68 MB, free: 3.812 MB / 18.57 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.0008967/0.0008967, allocations: 185 kB / 24.09 MB, free: 412 kB / 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 0.9947/0.9947, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.393e-05, allocations: 6.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001814/0.001838, allocations: 1.333 MB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1209/0.1227, allocations: 125.2 MB / 0.9356 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.1228, allocations: 4 kB / 0.9356 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.1228, allocations: 3.938 kB / 0.9356 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.1228, allocations: 7.922 kB / 0.9356 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1232, allocations: 51.67 kB / 0.9356 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1232, allocations: 27.86 kB / 0.9357 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.064e-05/0.1233, allocations: 4 kB / 0.9357 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.1233, allocations: 19.92 kB / 0.9357 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.1234, allocations: 7.984 kB / 0.9357 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1234, allocations: 0 / 0.9357 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.1235, allocations: 19.92 kB / 0.9357 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1235, allocations: 0 / 0.9357 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.1235, allocations: 7.938 kB / 0.9357 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.1236, allocations: 23.97 kB / 0.9357 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1236, allocations: 4 kB / 0.9357 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1236, allocations: 0 / 0.9357 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1236, allocations: 0 / 0.9357 GB, free: 2.367 MB / 0.8855 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.0002881/0.1239, allocations: 368.6 kB / 0.9361 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1239, allocations: 8.031 kB / 0.9361 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.124, allocations: 4.938 kB / 0.9361 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.828e-05/0.124, allocations: 108.6 kB / 0.9362 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.1241, allocations: 59.95 kB / 0.9363 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.1241, allocations: 4.375 kB / 0.9363 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/0.1242, allocations: 50.89 kB / 0.9363 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1242, allocations: 8.188 kB / 0.9363 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1242, allocations: 384 / 0.9363 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1242, allocations: 8.125 kB / 0.9363 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.1242, allocations: 4 kB / 0.9363 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1243, allocations: 93.27 kB / 0.9364 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.1244, allocations: 35.09 kB / 0.9365 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.1244, allocations: 11.69 kB / 0.9365 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/0.1245, allocations: 12.08 kB / 0.9365 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1245, allocations: 37.33 kB / 0.9365 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1245, allocations: 0 / 0.9365 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001133/0.1246, allocations: 49.69 kB / 0.9366 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1246, allocations: 55.41 kB / 0.9366 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.1247, allocations: 158.1 kB / 0.9368 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1247, allocations: 25.7 kB / 0.9368 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1247, allocations: 130.9 kB / 0.9369 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1248, allocations: 11.84 kB / 0.9369 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1248, allocations: 27.36 kB / 0.937 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1249, allocations: 0.4883 MB / 0.9374 GB, free: 440 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.1249, allocations: 4 kB / 0.9374 GB, free: 436 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.1249, allocations: 3.938 kB / 0.9374 GB, free: 432 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.125, allocations: 23.67 kB / 0.9375 GB, free: 404 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.125, allocations: 0 / 0.9375 GB, free: 404 kB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003643/0.1253, allocations: 37.7 kB / 0.9375 GB, free: 360 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1254, allocations: 4 kB / 0.9375 GB, free: 356 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1254, allocations: 4 kB / 0.9375 GB, free: 352 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1254, allocations: 0 / 0.9375 GB, free: 352 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.1254, allocations: 7.984 kB / 0.9375 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.1254, allocations: 0 / 0.9375 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.1254, allocations: 3.938 kB / 0.9375 GB, free: 340 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1254, allocations: 0 / 0.9375 GB, free: 340 kB / 0.8855 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.185e-05/0.1255, allocations: 164.5 kB / 0.9377 GB, free: 164 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.1255, allocations: 3.953 kB / 0.9377 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.1256, allocations: 49.38 kB / 0.9377 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1256, allocations: 0 / 0.9377 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1256, allocations: 3.984 kB / 0.9377 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1256, allocations: 0 / 0.9377 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.29e-05/0.1257, allocations: 101.2 kB / 0.9378 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1257, allocations: 0 / 0.9378 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.1257, allocations: 4 kB / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1257, allocations: 0 / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-06/0.1257, allocations: 4 kB / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1257, allocations: 4 kB / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1257, allocations: 0 / 0.9378 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.671e-05/0.1258, allocations: 84.27 kB / 0.9379 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.1258, allocations: 7.969 kB / 0.9379 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-06/0.1258, allocations: 0 / 0.9379 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.1258, allocations: 8 kB / 0.9379 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.1258, allocations: 0 / 0.9379 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1258, allocations: 0 / 0.9379 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.1259, allocations: 127.6 kB / 0.9381 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1259, allocations: 0 / 0.9381 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001259/0.126, allocations: 23.88 kB / 0.9381 GB, free: 15.69 MB / 0.9011 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.000128/0.1261, allocations: 111.2 kB / 0.9382 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.1262, allocations: 19.77 kB / 0.9382 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1262, allocations: 0 / 0.9382 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.1262, allocations: 19.75 kB / 0.9382 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.1264, allocations: 7.938 kB / 0.9382 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1268, allocations: 138.4 kB / 0.9384 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.1269, allocations: 59.34 kB / 0.9384 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.1269, allocations: 7.984 kB / 0.9384 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.1269, allocations: 74.2 kB / 0.9385 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of SimCode: time 7.81e-07/0.1269, allocations: 0 / 0.9385 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.002126/0.1291, allocations: 0.606 MB / 0.9391 GB, free: 14.59 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_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.173364306334406]