Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.88 kB / 1.057 GB, free: 1.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 160.7 MB / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001938/0.2944, allocations: 0.5991 MB / 1.215 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.296, allocations: 1.113 MB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.2961, allocations: 4 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.2961, allocations: 7.938 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.2962, allocations: 3.984 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.2967, allocations: 131.5 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.2969, allocations: 87.83 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.297, allocations: 4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.297, allocations: 31.97 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.2971, allocations: 31.89 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.2972, allocations: 8 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.2972, allocations: 27.98 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2973, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.2973, allocations: 39.89 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2975, allocations: 75.73 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2975, allocations: 4 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2975, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2975, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005393/0.2981, allocations: 373.1 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2981, allocations: 12.03 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.2982, allocations: 8.891 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2983, allocations: 168.4 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2983, allocations: 8.312 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.2984, allocations: 4.375 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2985, allocations: 38.98 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2985, allocations: 4.125 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2985, allocations: 7.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2985, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.2985, allocations: 4 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.2989, allocations: 284.9 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.299, allocations: 26.45 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.299, allocations: 12.91 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.299, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.2992, allocations: 59.36 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.2992, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001954/0.2994, allocations: 69.61 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2994, allocations: 55.41 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.2995, allocations: 105.8 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2996, allocations: 25.7 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.2996, allocations: 88.14 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.2996, allocations: 3.953 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.2997, allocations: 33.64 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2998, allocations: 318.8 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.2999, allocations: 31.98 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.3, allocations: 42.56 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3001, allocations: 84.2 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3001, allocations: 4.25 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002684/0.3004, allocations: 147.2 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3004, allocations: 41.78 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3004, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3005, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.3005, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3005, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3007, allocations: 31.91 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3007, allocations: 8.234 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.63e-05/0.3008, allocations: 121.8 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.3008, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.3009, allocations: 15.89 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3009, allocations: 3.938 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3009, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3009, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.301, allocations: 165.5 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.301, allocations: 3.984 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-06/0.301, allocations: 4 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.301, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.301, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.301, allocations: 7.984 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.301, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3012, allocations: 85.02 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3012, allocations: 77.11 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3012, allocations: 3.984 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.3012, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3013, allocations: 4 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3013, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.3013, allocations: 91.27 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3013, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.3015, allocations: 16 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000146/0.3017, allocations: 103.2 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3019, allocations: 103.4 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3019, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.3019, allocations: 15.92 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3021, allocations: 16.06 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3025, allocations: 147.7 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3028, allocations: 0.6807 MB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3028, allocations: 7.438 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3028, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.002673/0.3055, allocations: 0.8917 MB / 1.221 GB, free: 9.613 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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: 10.584939936874434]