Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0009526/0.0009526, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001137/0.001137, allocations: 185.3 kB / 24.09 MB, free: 416 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 1.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.956e-05, allocations: 2.938 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00171/0.00173, allocations: 1.335 MB / 0.8133 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1253/0.127, allocations: 140.7 MB / 0.9508 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.1271, allocations: 0 / 0.9508 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.1271, allocations: 3.938 kB / 0.9508 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.1272, allocations: 7.922 kB / 0.9508 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1276, allocations: 123.3 kB / 0.9509 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.1277, allocations: 23.81 kB / 0.9509 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.1277, allocations: 3.984 kB / 0.9509 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.1278, allocations: 11.98 kB / 0.9509 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.1278, allocations: 7.984 kB / 0.9509 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1278, allocations: 3.938 kB / 0.9509 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.1281, allocations: 159.7 kB / 0.9511 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1281, allocations: 3.984 kB / 0.9511 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.1282, allocations: 11.94 kB / 0.9511 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1283, allocations: 131.7 kB / 0.9512 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1284, allocations: 0 / 0.9512 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1284, allocations: 0 / 0.9512 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1284, allocations: 0 / 0.9512 GB, free: 2.422 MB / 0.9011 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.0002882/0.1286, allocations: 376.3 kB / 0.9516 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1287, allocations: 15.91 kB / 0.9516 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.1293, allocations: 44.83 kB / 0.9517 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.559e-05/0.1294, allocations: 112.6 kB / 0.9518 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1294, allocations: 384 / 0.9518 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.1294, allocations: 4.375 kB / 0.9518 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1295, allocations: 62.3 kB / 0.9518 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1295, allocations: 0 / 0.9518 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1295, allocations: 0 / 0.9518 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1295, allocations: 0 / 0.9518 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.1296, allocations: 4 kB / 0.9518 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.1298, allocations: 248.3 kB / 0.9521 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.1299, allocations: 35 kB / 0.9521 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.1299, allocations: 15.67 kB / 0.9521 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.1299, allocations: 8.047 kB / 0.9521 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1299, allocations: 33.39 kB / 0.9522 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1299, allocations: 0 / 0.9522 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.13, allocations: 37.64 kB / 0.9522 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.13, allocations: 51.41 kB / 0.9522 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.1301, allocations: 161.9 kB / 0.9524 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1301, allocations: 33.83 kB / 0.9524 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1302, allocations: 130.9 kB / 0.9525 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.1302, allocations: 11.89 kB / 0.9526 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1302, allocations: 23.36 kB / 0.9526 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1304, allocations: 0.4884 MB / 0.9531 GB, free: 372 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.1304, allocations: 0 / 0.9531 GB, free: 372 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.1304, allocations: 7.984 kB / 0.9531 GB, free: 364 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.1304, allocations: 11.69 kB / 0.9531 GB, free: 348 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1304, allocations: 0 / 0.9531 GB, free: 348 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.64e-05/0.1305, allocations: 61.52 kB / 0.9531 GB, free: 280 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1305, allocations: 11.98 kB / 0.9531 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1305, allocations: 0 / 0.9531 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1305, allocations: 0 / 0.9531 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.1306, allocations: 4 kB / 0.9532 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1306, allocations: 4 kB / 0.9532 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.1306, allocations: 7.984 kB / 0.9532 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1306, allocations: 0 / 0.9532 GB, free: 252 kB / 0.9011 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 5.919e-05/0.1307, allocations: 160.5 kB / 0.9533 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1307, allocations: 15.94 kB / 0.9533 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.1307, allocations: 3.312 kB / 0.9533 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1307, allocations: 0 / 0.9533 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1307, allocations: 0 / 0.9533 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1307, allocations: 3.984 kB / 0.9533 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.074e-05/0.1308, allocations: 93.27 kB / 0.9534 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1308, allocations: 0 / 0.9534 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.1308, allocations: 4 kB / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1308, allocations: 3.938 kB / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-06/0.1309, allocations: 0 / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1309, allocations: 0 / 0.9534 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1309, allocations: 7.938 kB / 0.9534 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.1309, allocations: 187.9 kB / 0.9536 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.1309, allocations: 3.953 kB / 0.9536 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.131, allocations: 7.938 kB / 0.9536 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.131, allocations: 4 kB / 0.9536 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.131, allocations: 0 / 0.9536 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.131, allocations: 0 / 0.9536 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.131, allocations: 131.5 kB / 0.9538 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.131, allocations: 0 / 0.9538 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000158/0.1312, allocations: 19.97 kB / 0.9538 GB, free: 15.55 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0001214/0.1313, allocations: 111.2 kB / 0.9539 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.908e-05/0.1314, allocations: 27.73 kB / 0.9539 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1314, allocations: 0 / 0.9539 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.1314, allocations: 11.69 kB / 0.9539 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1316, allocations: 11.92 kB / 0.9539 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.132, allocations: 142.2 kB / 0.9541 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.132, allocations: 51.36 kB / 0.9541 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.132, allocations: 12.08 kB / 0.9541 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1321, allocations: 78.19 kB / 0.9542 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.1321, allocations: 0 / 0.9542 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of Templates: time 0.002152/0.1342, allocations: 0.8795 MB / 0.9551 GB, free: 14.18 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.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.20032542059198]