Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.095/3.095, allocations: 489.7 MB / 0.7761 GB, free: 33.66 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.08 kB / 1.127 GB, free: 36.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4068, allocations: 172.1 MB / 1.295 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002831/0.4096, allocations: 1.28 MB / 1.296 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4112, allocations: 0.8323 MB / 1.297 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.4112, allocations: 0 / 1.297 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.4113, allocations: 3.938 kB / 1.297 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.4113, allocations: 11.92 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.4119, allocations: 135.4 kB / 1.297 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.136e-05/0.412, allocations: 19.92 kB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.412, allocations: 0 / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.4121, allocations: 23.86 kB / 1.297 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.4122, allocations: 4 kB / 1.297 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.4122, allocations: 3.984 kB / 1.297 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.4126, allocations: 171.8 kB / 1.297 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.4126, allocations: 0 / 1.297 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.4126, allocations: 15.92 kB / 1.297 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.4129, allocations: 119.6 kB / 1.297 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4129, allocations: 0 / 1.297 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4129, allocations: 4 kB / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4129, allocations: 0 / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006195/0.4135, allocations: 363.1 kB / 1.298 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4136, allocations: 8.031 kB / 1.298 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.4136, allocations: 12.88 kB / 1.298 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4138, allocations: 164.3 kB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/0.4139, allocations: 30.27 kB / 1.298 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4139, allocations: 4.359 kB / 1.298 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.414, allocations: 50.25 kB / 1.298 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.414, allocations: 3.938 kB / 1.298 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4141, allocations: 0 / 1.298 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4141, allocations: 0 / 1.298 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4142, allocations: 23.92 kB / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.4144, allocations: 153.7 kB / 1.298 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4146, allocations: 38.61 kB / 1.298 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.4147, allocations: 24.94 kB / 1.298 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.4151, allocations: 182.2 kB / 1.298 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.4151, allocations: 34.56 kB / 1.298 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4151, allocations: 0 / 1.298 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000282/0.4154, allocations: 77.73 kB / 1.299 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4154, allocations: 51.41 kB / 1.299 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.4155, allocations: 97.84 kB / 1.299 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4155, allocations: 25.7 kB / 1.299 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.4156, allocations: 80.14 kB / 1.299 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.4156, allocations: 23.83 kB / 1.299 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4157, allocations: 13.72 kB / 1.299 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4158, allocations: 314.8 kB / 1.299 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.4159, allocations: 15.98 kB / 1.299 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.4159, allocations: 12 kB / 1.299 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.416, allocations: 28.78 kB / 1.299 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.416, allocations: 3.938 kB / 1.299 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.4162, allocations: 53.69 kB / 1.299 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4162, allocations: 11.94 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4162, allocations: 3.984 kB / 1.299 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4162, allocations: 0 / 1.299 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.4163, allocations: 12 kB / 1.299 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4163, allocations: 0 / 1.299 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.4163, allocations: 0 / 1.299 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.4163, allocations: 0 / 1.299 GB, free: 7.043 MB / 0.9981 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 (4): * Single equations (assignments): 4 * 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 0.0001007/0.4164, allocations: 110.4 kB / 1.299 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.4164, allocations: 15.81 kB / 1.299 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.4166, allocations: 73.11 kB / 1.299 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4166, allocations: 0 / 1.299 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4166, allocations: 4 kB / 1.299 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4166, allocations: 0 / 1.299 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.4168, allocations: 157.7 kB / 1.3 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4168, allocations: 0 / 1.3 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.4168, allocations: 4 kB / 1.3 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4169, allocations: 7.938 kB / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4169, allocations: 0 / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4169, allocations: 0 / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4169, allocations: 0 / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.4171, allocations: 89.05 kB / 1.3 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.4171, allocations: 85.05 kB / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.4171, allocations: 7.938 kB / 1.3 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.4172, allocations: 4 kB / 1.3 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4172, allocations: 0 / 1.3 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.4172, allocations: 7.984 kB / 1.3 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.4173, allocations: 75.7 kB / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4173, allocations: 0 / 1.3 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002441/0.4176, allocations: 43.81 kB / 1.3 GB, free: 6.27 MB / 0.9981 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 (4): * Single equations (assignments): 4 * 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.0002747/0.4178, allocations: 139.1 kB / 1.3 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.418, allocations: 28.11 kB / 1.3 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.418, allocations: 3.938 kB / 1.3 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.4181, allocations: 15.98 kB / 1.3 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4183, allocations: 4 kB / 1.3 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.4187, allocations: 152.8 kB / 1.3 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4191, allocations: 0.6729 MB / 1.301 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.4191, allocations: 11.44 kB / 1.301 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.4191, allocations: 3.938 kB / 1.301 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of Templates: time 0.002966/0.4221, allocations: 1.002 MB / 1.302 GB, free: 4.172 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches