Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001762/0.001762, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002117/0.002117, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.596/1.596, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.63/2.63, allocations: 359 MB / 0.6037 GB, free: 14.96 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.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.924e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002863/0.002892, allocations: 1.543 MB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.0038, allocations: 479.3 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.003861, allocations: 8 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.003888, allocations: 3.938 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.003942, allocations: 11.86 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.004205, allocations: 31.84 kB / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004331, allocations: 51.78 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.004426, allocations: 15.98 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.004583, allocations: 27.97 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.00463, allocations: 23.91 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.004645, allocations: 4 kB / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.689e-05/0.004682, allocations: 8 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.004699, allocations: 7.984 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.00473, allocations: 15.94 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.004857, allocations: 55.73 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004859, allocations: 3.938 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004859, allocations: 0 / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004864, allocations: 0 / 0.9531 GB, free: 9.301 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005642/0.005428, allocations: 290.2 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005463, allocations: 8.031 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.005603, allocations: 20.88 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.005802, allocations: 129.7 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.00582, allocations: 384 / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.005835, allocations: 4.375 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.006043, allocations: 58.23 kB / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006051, allocations: 192 / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.006063, allocations: 4.375 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.006071, allocations: 11.88 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.006271, allocations: 43.97 kB / 0.9537 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.006664, allocations: 224.5 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.007015, allocations: 66.41 kB / 0.954 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.007118, allocations: 24.91 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.007132, allocations: 0 / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.007164, allocations: 38.56 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.007165, allocations: 0 / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003808/0.007546, allocations: 81.66 kB / 0.9541 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.007584, allocations: 55.39 kB / 0.9542 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.007705, allocations: 117.8 kB / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.007723, allocations: 25.7 kB / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.007782, allocations: 96.03 kB / 0.9544 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.007798, allocations: 7.891 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.00784, allocations: 21.7 kB / 0.9544 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.007986, allocations: 314.8 kB / 0.9547 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.008082, allocations: 20.36 kB / 0.9547 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.008169, allocations: 15.98 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.008345, allocations: 40.83 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.00835, allocations: 3.938 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002289/0.008579, allocations: 73.89 kB / 0.9549 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008591, allocations: 4 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.008599, allocations: 7.969 kB / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.00861, allocations: 7.938 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.008689, allocations: 8 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.008693, allocations: 0 / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.008754, allocations: 11.98 kB / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008761, allocations: 0 / 0.9549 GB, free: 7.328 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 (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 8.624e-05/0.008847, allocations: 113.8 kB / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.008875, allocations: 3.953 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.008907, allocations: 12 kB / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008908, allocations: 0 / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.008913, allocations: 8 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008917, allocations: 3.984 kB / 0.955 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.009071, allocations: 117.4 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.009074, allocations: 7.938 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.009152, allocations: 7.984 kB / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009153, allocations: 0 / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.009163, allocations: 4 kB / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009164, allocations: 0 / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009164, allocations: 0 / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.009451, allocations: 163.5 kB / 0.9553 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.009466, allocations: 15.88 kB / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.009479, allocations: 0 / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.009568, allocations: 4 kB / 0.9553 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.009603, allocations: 3.984 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.009609, allocations: 4 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.009663, allocations: 87.28 kB / 0.9554 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009663, allocations: 0 / 0.9554 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.009891, allocations: 11.94 kB / 0.9554 GB, free: 6.711 MB / 0.8575 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 0.0001639/0.01005, allocations: 99.23 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.01028, allocations: 39.91 kB / 0.9556 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01028, allocations: 4 kB / 0.9556 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.01039, allocations: 20.27 kB / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01064, allocations: 13.91 kB / 0.9556 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.01102, allocations: 136.9 kB / 0.9557 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.798e-05/0.01109, allocations: 71.33 kB / 0.9558 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.01111, allocations: 4 kB / 0.9558 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.01114, allocations: 12.5 kB / 0.9558 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.01114, allocations: 0 / 0.9558 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.002659/0.0138, allocations: 461.8 kB / 0.9563 GB, free: 5.824 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.678513169288635]