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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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=501,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 0.001985/0.001985, allocations: 63.7 kB / 1.108 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3858, allocations: 168.7 MB / 1.272 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003054/0.3889, allocations: 1.523 MB / 1.274 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008648/0.3898, allocations: 448 kB / 1.274 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.3898, allocations: 0 / 1.274 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.3898, allocations: 3.938 kB / 1.274 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.3899, allocations: 15.91 kB / 1.274 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3901, allocations: 23.92 kB / 1.274 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3902, allocations: 43.84 kB / 1.274 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3903, allocations: 8 kB / 1.274 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3905, allocations: 27.91 kB / 1.274 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.3905, allocations: 19.92 kB / 1.274 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3906, allocations: 7.938 kB / 1.274 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.3906, allocations: 4 kB / 1.274 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.3906, allocations: 11.92 kB / 1.274 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3906, allocations: 19.88 kB / 1.274 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3908, allocations: 51.8 kB / 1.275 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3908, allocations: 0 / 1.275 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.749e-06/0.3908, allocations: 3.984 kB / 1.275 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3908, allocations: 0 / 1.275 GB, free: 9.562 MB / 0.9825 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.0006211/0.3914, allocations: 359.3 kB / 1.275 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3914, allocations: 12.03 kB / 1.275 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3915, allocations: 4.891 kB / 1.275 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3916, allocations: 180.3 kB / 1.275 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3917, allocations: 4.375 kB / 1.275 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.3917, allocations: 8.312 kB / 1.275 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.3919, allocations: 69.92 kB / 1.275 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3919, allocations: 0 / 1.275 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3919, allocations: 4 kB / 1.275 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3919, allocations: 0 / 1.275 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3921, allocations: 39.97 kB / 1.275 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3927, allocations: 296.8 kB / 1.275 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.393, allocations: 66.47 kB / 1.276 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.3931, allocations: 24.91 kB / 1.276 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3931, allocations: 0 / 1.276 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3932, allocations: 34.56 kB / 1.276 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3932, allocations: 0 / 1.276 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003828/0.3935, allocations: 85.73 kB / 1.276 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3936, allocations: 59.39 kB / 1.276 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3937, allocations: 121.8 kB / 1.276 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3937, allocations: 25.7 kB / 1.276 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3938, allocations: 92.08 kB / 1.276 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3938, allocations: 15.88 kB / 1.276 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3938, allocations: 13.72 kB / 1.276 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.394, allocations: 322.8 kB / 1.276 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3941, allocations: 11.98 kB / 1.276 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.3942, allocations: 23.97 kB / 1.276 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3943, allocations: 40.83 kB / 1.276 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3943, allocations: 0 / 1.276 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002033/0.3945, allocations: 77.55 kB / 1.276 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3946, allocations: 4 kB / 1.276 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3946, allocations: 0 / 1.276 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3946, allocations: 0 / 1.276 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.3947, allocations: 11.98 kB / 1.276 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3947, allocations: 0 / 1.276 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3947, allocations: 8 kB / 1.276 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.3947, allocations: 4 kB / 1.276 GB, free: 7.359 MB / 0.9825 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 0.0001111/0.3948, allocations: 118.2 kB / 1.277 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3949, allocations: 3.953 kB / 1.277 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.3949, allocations: 15.89 kB / 1.277 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3949, allocations: 0 / 1.277 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3949, allocations: 0 / 1.277 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3949, allocations: 0 / 1.277 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3951, allocations: 173.6 kB / 1.277 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3951, allocations: 0 / 1.277 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.3952, allocations: 11.98 kB / 1.277 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3952, allocations: 4 kB / 1.277 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.3952, allocations: 0 / 1.277 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3952, allocations: 0 / 1.277 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3952, allocations: 0 / 1.277 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3955, allocations: 175.3 kB / 1.277 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.3955, allocations: 85.11 kB / 1.277 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3955, allocations: 4 kB / 1.277 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.3956, allocations: 7.984 kB / 1.277 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3957, allocations: 0 / 1.277 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3957, allocations: 0 / 1.277 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.3957, allocations: 99.27 kB / 1.277 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3957, allocations: 0 / 1.277 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002151/0.396, allocations: 11.94 kB / 1.277 GB, free: 6.559 MB / 0.9825 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.0001153/0.3961, allocations: 91.25 kB / 1.277 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3963, allocations: 47.89 kB / 1.277 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.3963, allocations: 4 kB / 1.277 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.3964, allocations: 15.98 kB / 1.277 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3967, allocations: 13.97 kB / 1.277 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.3972, allocations: 184.1 kB / 1.277 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3975, allocations: 0.6884 MB / 1.278 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.3976, allocations: 7.438 kB / 1.278 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3976, allocations: 4 kB / 1.278 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of Templates: time 0.002375/0.4, allocations: 0.7199 MB / 1.279 GB, free: 4.723 MB / 0.9825 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/jenkins1/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] "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time