Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001366/0.001366, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001498/0.001498, allocations: 165.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.756/2.756, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.719e-05, allocations: 5.375 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002928/0.002966, allocations: 1.306 MB / 0.9523 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004132, allocations: 0.5887 MB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.004155, allocations: 4 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.004174, allocations: 3.938 kB / 0.9529 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.004225, allocations: 11.91 kB / 0.9529 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.004741, allocations: 111.4 kB / 0.953 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.004826, allocations: 27.86 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.004876, allocations: 0 / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.004925, allocations: 19.98 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.005005, allocations: 4 kB / 0.953 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.005032, allocations: 7.984 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.00535, allocations: 143.7 kB / 0.9532 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.005367, allocations: 0 / 0.9532 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.005395, allocations: 8 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.005672, allocations: 115.7 kB / 0.9533 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.005677, allocations: 4 kB / 0.9533 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005678, allocations: 3.938 kB / 0.9533 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.005683, allocations: 0 / 0.9533 GB, free: 9.211 MB / 0.8575 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.0006122/0.006295, allocations: 286.1 kB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.006344, allocations: 8.031 kB / 0.9536 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.006868, allocations: 24.91 kB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.006998, allocations: 109.8 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.007013, allocations: 384 / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.007042, allocations: 4.375 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.007305, allocations: 87.92 kB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.007317, allocations: 192 / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.007333, allocations: 384 / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007338, allocations: 384 / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.007487, allocations: 31.91 kB / 0.9538 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.007681, allocations: 113.2 kB / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.008032, allocations: 70.53 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.00812, allocations: 24.94 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.008143, allocations: 0 / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.008175, allocations: 34.56 kB / 0.9541 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.008176, allocations: 3.938 kB / 0.9541 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003531/0.01171, allocations: 0.5084 MB / 0.9546 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.01177, allocations: 67.27 kB / 0.9546 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.01186, allocations: 93.86 kB / 0.9547 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.01189, allocations: 25.7 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.01195, allocations: 84.14 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.01199, allocations: 15.86 kB / 0.9548 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.01206, allocations: 25.69 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.01223, allocations: 318.8 kB / 0.9552 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.01238, allocations: 36.09 kB / 0.9552 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01252, allocations: 35.97 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.01287, allocations: 80.81 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01287, allocations: 4 kB / 0.9553 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003929/0.01326, allocations: 121.5 kB / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.01329, allocations: 8 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01329, allocations: 0 / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.01331, allocations: 3.984 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.01353, allocations: 27.97 kB / 0.9555 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.01354, allocations: 8.172 kB / 0.9555 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01368, allocations: 4 kB / 0.9555 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.0137, allocations: 3.984 kB / 0.9555 GB, free: 6.766 MB / 0.8575 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 (7): * Single equations (assignments): 7 * 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.0001081/0.01381, allocations: 113.8 kB / 0.9556 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.01384, allocations: 7.953 kB / 0.9556 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.01391, allocations: 12.12 kB / 0.9556 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01391, allocations: 0 / 0.9556 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.01392, allocations: 3.938 kB / 0.9556 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01392, allocations: 3.938 kB / 0.9556 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.0141, allocations: 127.7 kB / 0.9557 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.01411, allocations: 7.984 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.01435, allocations: 23.97 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01435, allocations: 0 / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01436, allocations: 7.938 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01437, allocations: 0 / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01437, allocations: 3.984 kB / 0.9558 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.01496, allocations: 193 kB / 0.956 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.01497, allocations: 7.891 kB / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.015, allocations: 8.094 kB / 0.956 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.01518, allocations: 7.984 kB / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.0152, allocations: 4 kB / 0.956 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.01522, allocations: 11.92 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.01527, allocations: 79.28 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01527, allocations: 0 / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002705/0.01554, allocations: 31.88 kB / 0.9561 GB, free: 6.062 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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.0002785/0.01582, allocations: 147 kB / 0.9562 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.01619, allocations: 79.92 kB / 0.9563 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01619, allocations: 0 / 0.9563 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.01636, allocations: 43.97 kB / 0.9564 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.01664, allocations: 11.98 kB / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.01735, allocations: 160.7 kB / 0.9565 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.274e-05/0.01741, allocations: 67.28 kB / 0.9566 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.01757, allocations: 31.88 kB / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.01764, allocations: 20.47 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.01765, allocations: 0 / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of Templates: time 0.005096/0.02274, allocations: 1.577 MB / 0.9582 GB, free: 3.941 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.886062551289797]