Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001599/0.001599, allocations: 106.2 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.001855/0.001855, 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.458/1.458, allocations: 225.6 MB / 249.9 MB, free: 13.43 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.165/3.165, allocations: 489.7 MB / 0.7761 GB, free: 33.57 MB / 0.6231 GB [Timeout remaining time 86] 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 72.44 kB / 1.127 GB, free: 36.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 172.1 MB / 1.295 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002626/0.3456, allocations: 1.264 MB / 1.296 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006515/0.3462, allocations: 302 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.3463, allocations: 0 / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.3463, allocations: 0 / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.3463, allocations: 3.938 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3467, allocations: 51.75 kB / 1.296 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.3468, allocations: 23.86 kB / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.3468, allocations: 0 / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.3469, allocations: 4 kB / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.3469, allocations: 15.92 kB / 1.296 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3469, allocations: 0 / 1.296 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3471, allocations: 51.95 kB / 1.297 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.3471, allocations: 15.92 kB / 1.297 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3471, allocations: 4 kB / 1.297 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3473, allocations: 55.75 kB / 1.297 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3473, allocations: 0 / 1.297 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3473, allocations: 0 / 1.297 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3473, allocations: 0 / 1.297 GB, free: 9.93 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.0004427/0.3478, allocations: 339.3 kB / 1.297 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3478, allocations: 12.03 kB / 1.297 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.348, allocations: 16.92 kB / 1.297 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3482, allocations: 164.4 kB / 1.297 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3482, allocations: 8.359 kB / 1.297 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.3482, allocations: 4.375 kB / 1.297 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3483, allocations: 42.25 kB / 1.297 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3483, allocations: 192 / 1.297 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3484, allocations: 11.88 kB / 1.297 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3484, allocations: 4 kB / 1.297 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/0.3484, allocations: 15.94 kB / 1.297 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.3486, allocations: 153.7 kB / 1.297 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3506, allocations: 270.5 kB / 1.298 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.3506, allocations: 16.84 kB / 1.298 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3506, allocations: 4 kB / 1.298 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3507, allocations: 30.56 kB / 1.298 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3507, allocations: 0 / 1.298 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/0.3509, allocations: 69.56 kB / 1.298 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3509, allocations: 51.41 kB / 1.298 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.351, allocations: 93.86 kB / 1.298 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.351, allocations: 29.7 kB / 1.298 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.351, allocations: 84.14 kB / 1.298 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3511, allocations: 11.89 kB / 1.298 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.3511, allocations: 21.66 kB / 1.298 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3513, allocations: 310.8 kB / 1.298 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.3513, allocations: 4 kB / 1.298 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.3513, allocations: 12.11 kB / 1.298 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.3514, allocations: 32.8 kB / 1.298 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3514, allocations: 0 / 1.298 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.356e-05/0.3515, allocations: 53.69 kB / 1.298 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3515, allocations: 4 kB / 1.298 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3515, allocations: 7.938 kB / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3515, allocations: 0 / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.3516, allocations: 4 kB / 1.298 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3516, allocations: 0 / 1.298 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.3516, allocations: 8.281 kB / 1.298 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3516, allocations: 4 kB / 1.298 GB, free: 7.848 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 9.03e-05/0.3517, allocations: 118.3 kB / 1.299 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.3517, allocations: 0 / 1.299 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.3517, allocations: 19.42 kB / 1.299 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3517, allocations: 0 / 1.299 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3517, allocations: 0 / 1.299 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3517, allocations: 0 / 1.299 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3519, allocations: 153.7 kB / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3519, allocations: 3.938 kB / 1.299 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.352, allocations: 8 kB / 1.299 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.352, allocations: 4 kB / 1.299 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.352, allocations: 3.938 kB / 1.299 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.352, allocations: 0 / 1.299 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.352, allocations: 0 / 1.299 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.3521, allocations: 81.06 kB / 1.299 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.3522, allocations: 85.09 kB / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3522, allocations: 3.938 kB / 1.299 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.3522, allocations: 4 kB / 1.299 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3523, allocations: 8 kB / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3523, allocations: 4 kB / 1.299 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.3523, allocations: 79.27 kB / 1.299 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3523, allocations: 3.938 kB / 1.299 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001867/0.3525, allocations: 8 kB / 1.299 GB, free: 7.176 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.0001338/0.3526, allocations: 99.19 kB / 1.299 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.3527, allocations: 23.98 kB / 1.299 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3527, allocations: 4.094 kB / 1.299 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.3527, allocations: 8 kB / 1.299 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.353, allocations: 15.98 kB / 1.299 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3534, allocations: 152.2 kB / 1.299 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3537, allocations: 0.6768 MB / 1.3 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3537, allocations: 15.44 kB / 1.3 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.3537, allocations: 0 / 1.3 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.002146/0.3559, allocations: 0.5271 MB / 1.3 GB, free: 5.586 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches