Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.000984/0.000984, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009637/0.0009637, allocations: 169 kB / 23.82 MB, free: 0.7422 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 0.9387/0.9387, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.818/1.818, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8116 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.178e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.005094/0.005116, allocations: 1.303 MB / 0.8128 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.00553, allocations: 236 kB / 0.8131 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.005547, allocations: 0.7812 kB / 0.8131 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.005571, allocations: 3.938 kB / 0.8131 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.005611, allocations: 1.688 kB / 0.8131 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.005898, allocations: 39.77 kB / 0.8131 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.005957, allocations: 19.97 kB / 0.8131 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.005994, allocations: 5.531 kB / 0.8131 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.006032, allocations: 11.92 kB / 0.8131 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.006098, allocations: 7.984 kB / 0.8131 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.006112, allocations: 4 kB / 0.8131 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.006198, allocations: 45.66 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.006214, allocations: 7.969 kB / 0.8132 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.006232, allocations: 4 kB / 0.8132 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.006362, allocations: 43.88 kB / 0.8132 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006365, allocations: 4 kB / 0.8132 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006366, allocations: 0.7812 kB / 0.8132 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.00637, allocations: 0 / 0.8132 GB, free: 15.82 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003804/0.00675, allocations: 363.5 kB / 0.8136 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.006794, allocations: 11.97 kB / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.00696, allocations: 17.2 kB / 0.8136 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.16e-05/0.007031, allocations: 112.6 kB / 0.8137 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.007044, allocations: 4.375 kB / 0.8137 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.007066, allocations: 8.328 kB / 0.8137 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.007189, allocations: 68.48 kB / 0.8138 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003025/0.01021, allocations: 4.172 kB / 0.8138 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.01023, allocations: 1.094 kB / 0.8138 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.01023, allocations: 384 / 0.8138 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.01028, allocations: 16.47 kB / 0.8138 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.01041, allocations: 114.3 kB / 0.8139 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.0105, allocations: 55.05 kB / 0.814 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.01053, allocations: 19.8 kB / 0.814 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.01054, allocations: 8.547 kB / 0.814 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.01057, allocations: 33.39 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.01057, allocations: 0.5938 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.00126/0.01183, allocations: 428.4 kB / 0.8145 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.01186, allocations: 57.56 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.0119, allocations: 146.2 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.01195, allocations: 33.7 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.01197, allocations: 126.9 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.01201, allocations: 31.73 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.01205, allocations: 23.38 kB / 0.8149 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01216, allocations: 498.9 kB / 0.8153 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.0122, allocations: 20 kB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.01224, allocations: 27.92 kB / 0.8154 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.01234, allocations: 51.69 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01234, allocations: 7.938 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001372/0.01247, allocations: 93.62 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01249, allocations: 4 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01249, allocations: 0 / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.0125, allocations: 1.594 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01262, allocations: 15.94 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01263, allocations: 7.875 kB / 0.8156 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01273, allocations: 4 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.01274, allocations: 0.5938 kB / 0.8156 GB, free: 13.23 MB / 0.7761 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 (9): * Single equations (assignments): 9 * 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 7.318e-05/0.01281, allocations: 165.1 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.01283, allocations: 4.531 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.01286, allocations: 15.97 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.01286, allocations: 0.5625 kB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01286, allocations: 5.75 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01287, allocations: 0 / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.01296, allocations: 122.6 kB / 0.8159 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01297, allocations: 4 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/0.01607, allocations: 17.08 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01607, allocations: 0 / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01608, allocations: 0 / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01608, allocations: 4.594 kB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01609, allocations: 4 kB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.01629, allocations: 153.1 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.0163, allocations: 7.672 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01631, allocations: 4 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.01637, allocations: 7.984 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.01639, allocations: 4 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.0164, allocations: 3.938 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.821e-05/0.01643, allocations: 123.2 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01643, allocations: 0 / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001861/0.01661, allocations: 16 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.759e-05/0.0167, allocations: 111.1 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01683, allocations: 59.67 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01683, allocations: 0 / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.01687, allocations: 43.61 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01704, allocations: 8.922 kB / 0.8164 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01761, allocations: 176.7 kB / 0.8166 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.01764, allocations: 59.89 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.869e-05/0.0177, allocations: 15.67 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.01774, allocations: 16.44 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01774, allocations: 0 / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of Templates: time 0.005791/0.02353, allocations: 0.737 MB / 0.8174 GB, free: 11.31 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.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.008710396010429]