Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001796/0.001796, allocations: 103.4 kB / 18.19 MB, free: 4.117 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.00195/0.00195, allocations: 193.9 kB / 21.34 MB, free: 0.9766 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.551/1.551, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.862/2.862, allocations: 443.5 MB / 0.731 GB, free: 14.12 MB / 0.5762 GB [Timeout remaining time 86] 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 1.06 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.356, allocations: 160.7 MB / 1.217 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00304/0.359, allocations: 1.53 MB / 1.218 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000849/0.3599, allocations: 439.7 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3599, allocations: 4 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.36, allocations: 7.922 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.36, allocations: 11.88 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3603, allocations: 23.92 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.3604, allocations: 47.91 kB / 1.219 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3605, allocations: 15.97 kB / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3606, allocations: 19.92 kB / 1.219 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.3607, allocations: 27.84 kB / 1.219 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3607, allocations: 4 kB / 1.219 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.3607, allocations: 4 kB / 1.219 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.3607, allocations: 12 kB / 1.219 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.3608, allocations: 23.84 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3609, allocations: 47.7 kB / 1.219 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3609, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3609, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3609, allocations: 0 / 1.219 GB, free: 13.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006134/0.3615, allocations: 359.3 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3616, allocations: 8.031 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3616, allocations: 8.891 kB / 1.219 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3618, allocations: 184.2 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3618, allocations: 4.375 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3618, allocations: 4.375 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.362, allocations: 65.92 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.362, allocations: 0 / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.362, allocations: 4 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.362, allocations: 4 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3622, allocations: 47.94 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.3627, allocations: 296.8 kB / 1.22 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.3631, allocations: 62.55 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3632, allocations: 20.84 kB / 1.22 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3632, allocations: 4 kB / 1.22 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3632, allocations: 42.5 kB / 1.22 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3632, allocations: 0 / 1.22 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003976/0.3636, allocations: 81.64 kB / 1.22 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.3636, allocations: 55.34 kB / 1.22 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3638, allocations: 117.8 kB / 1.22 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3638, allocations: 29.7 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.3638, allocations: 100.1 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3639, allocations: 7.891 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3639, allocations: 13.72 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3641, allocations: 322.8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.3642, allocations: 19.98 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.3642, allocations: 15.98 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3644, allocations: 36.84 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3644, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002012/0.3646, allocations: 73.61 kB / 1.221 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3646, allocations: 11.94 kB / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3646, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3646, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.3647, allocations: 11.98 kB / 1.221 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3647, allocations: 0 / 1.221 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.3648, allocations: 8 kB / 1.221 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3648, allocations: 0 / 1.221 GB, free: 11.16 MB / 0.9669 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.0001023/0.3649, allocations: 117.8 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3649, allocations: 7.953 kB / 1.221 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.3649, allocations: 7.906 kB / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3649, allocations: 4 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3649, allocations: 0 / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3649, allocations: 3.938 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3651, allocations: 173.6 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3651, allocations: 4 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.3652, allocations: 8 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3652, allocations: 0 / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3652, allocations: 0 / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3652, allocations: 7.922 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3652, allocations: 4 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3655, allocations: 171.7 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3656, allocations: 77.11 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3656, allocations: 8.031 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.3657, allocations: 7.984 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3657, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3657, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.3658, allocations: 95.27 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002141/0.366, allocations: 7.938 kB / 1.221 GB, free: 10.36 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: 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.0001192/0.3661, allocations: 103.2 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3663, allocations: 39.97 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3663, allocations: 3.938 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.3664, allocations: 19.98 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3667, allocations: 0.7656 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3671, allocations: 180.2 kB / 1.222 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3675, allocations: 0.6846 MB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3675, allocations: 15.42 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/0.3675, allocations: 0 / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.002276/0.3698, allocations: 0.7143 MB / 1.223 GB, free: 8.547 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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