Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.001189/0.001189, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001792/0.002981, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001081/0.001081, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.00262, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9156/0.9156, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09571/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.831/1.831, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4523/2.283, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 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.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.579e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002824/0.00284, allocations: 1.635 MB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008069/0.003647, allocations: 0.4977 MB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.003702, allocations: 0 / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.00373, allocations: 3.938 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.003771, allocations: 12.48 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003947, allocations: 40.83 kB / 0.7317 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.004064, allocations: 45.17 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004166, allocations: 13.42 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.004357, allocations: 47 kB / 0.7318 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.004406, allocations: 22.62 kB / 0.7319 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.004423, allocations: 4 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.004487, allocations: 5.5 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.004509, allocations: 13.8 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.004531, allocations: 8 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.004664, allocations: 35.84 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.004677, allocations: 2.75 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004677, allocations: 0 / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.004691, allocations: 0 / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004446/0.005136, allocations: 268.4 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.00517, allocations: 12.03 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.005338, allocations: 94.03 kB / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005488, allocations: 122.1 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.005508, allocations: 1 kB / 0.7324 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.005521, allocations: 5.188 kB / 0.7324 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.005648, allocations: 62.94 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.005655, allocations: 1.094 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005663, allocations: 4.359 kB / 0.7325 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005671, allocations: 7.938 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.005701, allocations: 9.172 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.00595, allocations: 176.2 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006091, allocations: 44.34 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.006112, allocations: 12.86 kB / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.006123, allocations: 0 / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.006147, allocations: 38.5 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.006149, allocations: 0.8125 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000125/0.006274, allocations: 45.62 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.006302, allocations: 51.91 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.006374, allocations: 124.3 kB / 0.733 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.006394, allocations: 25.7 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.00643, allocations: 92.08 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.006451, allocations: 11.88 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.006484, allocations: 14.59 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.006572, allocations: 314.8 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.006587, allocations: 4 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.006599, allocations: 5.25 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.006633, allocations: 24.77 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006635, allocations: 0 / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.35e-05/0.006699, allocations: 43.38 kB / 0.7335 GB, free: 380 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.006712, allocations: 9.094 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006716, allocations: 0 / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.006729, allocations: 0 / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.006785, allocations: 11.98 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.006788, allocations: 1.219 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.006816, allocations: 3.953 kB / 0.7335 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.006822, allocations: 0 / 0.7335 GB, free: 356 kB / 0.698 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 (3): * Single equations (assignments): 3 * 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.757e-05/0.006879, allocations: 110.5 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.006906, allocations: 13.05 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.006939, allocations: 8 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.00694, allocations: 0 / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006942, allocations: 0.5625 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006945, allocations: 0 / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.007064, allocations: 78.66 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007065, allocations: 7.938 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.007106, allocations: 13.14 kB / 0.7337 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.007114, allocations: 4 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007116, allocations: 3.938 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.007123, allocations: 5.266 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007124, allocations: 0 / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007126, allocations: 1.125 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007243, allocations: 135.5 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007255, allocations: 0 / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.007322, allocations: 12.58 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.007346, allocations: 0 / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.00735, allocations: 1.531 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.007373, allocations: 20.78 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007373, allocations: 0 / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002193/0.007592, allocations: 12 kB / 0.7339 GB, free: 15.88 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.188e-05/0.007674, allocations: 77.67 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.007749, allocations: 16.84 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.007755, allocations: 1.25 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.007787, allocations: 16.84 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.008001, allocations: 41.69 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.00889, allocations: 160.8 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.00893, allocations: 56.39 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.008958, allocations: 4.531 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.009013, allocations: 52.8 kB / 0.7343 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.009013, allocations: 4 kB / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.002356/0.01137, allocations: 488.8 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.673056345432997]