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.0009655/0.0009655, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009247/0.0009247, allocations: 165 kB / 24.17 MB, free: 328 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.886/0.886, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.302e-06/1.302e-06, allocations: 1.094 kB / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.861e-05, allocations: 6.25 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.004883/0.004902, allocations: 1.311 MB / 0.7613 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.005291, allocations: 235.6 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.005307, allocations: 0 / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.005326, allocations: 3.984 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.541e-05/0.005362, allocations: 3.078 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.005589, allocations: 43.77 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.087e-05/0.00564, allocations: 20.02 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.005671, allocations: 5.125 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.005705, allocations: 12.64 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.005768, allocations: 5.312 kB / 0.7616 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.005779, allocations: 0.7812 kB / 0.7616 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.005861, allocations: 51.88 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.005873, allocations: 5.25 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.005888, allocations: 4.969 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.682e-05/0.005985, allocations: 48.53 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005986, allocations: 0 / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005987, allocations: 1.031 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.415e-06/0.005989, allocations: 0 / 0.7617 GB, free: 4.855 MB / 0.7136 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.0002456/0.006235, allocations: 235.6 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.006263, allocations: 8.031 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.006379, allocations: 16.86 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.641e-05/0.006435, allocations: 114.4 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.006443, allocations: 384 / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.006461, allocations: 5.594 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.631e-05/0.006547, allocations: 75.92 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-06/0.006553, allocations: 192 / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.006559, allocations: 1.094 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.006563, allocations: 1.25 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.006586, allocations: 13.28 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.609e-05/0.006672, allocations: 65.39 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.006738, allocations: 38.5 kB / 0.7623 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.006759, allocations: 17.8 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.006765, allocations: 0.75 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.006785, allocations: 34.56 kB / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 6.31e-07/0.006786, allocations: 1.75 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.004306/0.01109, allocations: 464.3 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.01112, allocations: 51.41 kB / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.812e-05/0.01115, allocations: 89.86 kB / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.01116, allocations: 33.64 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.01118, allocations: 80.14 kB / 0.763 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.01122, allocations: 31.73 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.01125, allocations: 24.19 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.01133, allocations: 314.8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.01135, allocations: 15.98 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.01137, allocations: 12 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.01143, allocations: 45.48 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01143, allocations: 448 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.373e-05/0.01152, allocations: 67.06 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.01153, allocations: 4 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.01153, allocations: 4 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.01154, allocations: 0.7656 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.01162, allocations: 22.42 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.01162, allocations: 0 / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.01165, allocations: 7.938 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01166, allocations: 4 kB / 0.7636 GB, free: 2.836 MB / 0.7136 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 5.378e-05/0.01171, allocations: 109.8 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.01173, allocations: 11.98 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.01176, allocations: 15.66 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.01176, allocations: 0 / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01176, allocations: 0 / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01176, allocations: 4 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.455e-05/0.01184, allocations: 73.84 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01184, allocations: 0 / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.01191, allocations: 15.98 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01191, allocations: 5.75 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01192, allocations: 0.6562 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.01192, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01192, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.01205, allocations: 121 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.01206, allocations: 6.422 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.01207, allocations: 4 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.01212, allocations: 5.094 kB / 0.7639 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.01214, allocations: 7.984 kB / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01214, allocations: 0 / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.264e-06/0.01215, allocations: 4.859 kB / 0.7639 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01215, allocations: 2.031 kB / 0.7639 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001533/0.0123, allocations: 16 kB / 0.764 GB, free: 2.398 MB / 0.7136 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 7.393e-05/0.01238, allocations: 80.42 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.01246, allocations: 52.77 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01246, allocations: 1.406 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.01249, allocations: 24.86 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.697e-05/0.01257, allocations: 12.67 kB / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.01301, allocations: 172.8 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.783e-05/0.01304, allocations: 58.11 kB / 0.7643 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.791e-05/0.0131, allocations: 15.92 kB / 0.7644 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.01317, allocations: 60.06 kB / 0.7644 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.01317, allocations: 0 / 0.7644 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of Templates: time 0.002286/0.01546, allocations: 0.7727 MB / 0.7652 GB, free: 1.184 MB / 0.7136 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: 4.620182340964675]