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.001308/0.001309, allocations: 104 kB / 16.4 MB, free: 6.5 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.001286/0.001285, allocations: 194.8 kB / 19.36 MB, free: 3.75 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.404/1.404, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.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.52/2.52, allocations: 437 MB / 0.717 GB, free: 4.121 MB / 0.5762 GB [Timeout remaining time 87] 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.002379/0.002379, allocations: 75.86 kB / 1.027 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8233, allocations: 151.6 MB / 1.175 GB, free: 17.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002577/0.8259, allocations: 1.524 MB / 1.177 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006319/0.8265, allocations: 444.5 kB / 1.177 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.8266, allocations: 1.469 kB / 1.177 GB, free: 16.61 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.8266, allocations: 5.25 kB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.8267, allocations: 5.312 kB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.8269, allocations: 25.8 kB / 1.177 GB, free: 16.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.827, allocations: 43.91 kB / 1.177 GB, free: 16.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8271, allocations: 17.92 kB / 1.177 GB, free: 16.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.8272, allocations: 27.11 kB / 1.177 GB, free: 16.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.8273, allocations: 23.41 kB / 1.177 GB, free: 16.53 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8273, allocations: 2.875 kB / 1.177 GB, free: 16.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.8273, allocations: 7.875 kB / 1.177 GB, free: 16.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.8273, allocations: 11.33 kB / 1.177 GB, free: 16.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.8274, allocations: 23.19 kB / 1.177 GB, free: 16.5 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.8275, allocations: 45.17 kB / 1.177 GB, free: 16.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8275, allocations: 1.25 kB / 1.177 GB, free: 16.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8275, allocations: 4 kB / 1.177 GB, free: 16.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8275, allocations: 3.938 kB / 1.177 GB, free: 16.47 MB / 0.92 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.0004524/0.828, allocations: 361.8 kB / 1.178 GB, free: 16.11 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.828, allocations: 11.08 kB / 1.178 GB, free: 16.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.828, allocations: 8.062 kB / 1.178 GB, free: 16.1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.8281, allocations: 172.1 kB / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.8282, allocations: 2.906 kB / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.8282, allocations: 6.906 kB / 1.178 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.8284, allocations: 72.36 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8284, allocations: 0.7969 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8284, allocations: 1.062 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8284, allocations: 5.156 kB / 1.178 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.8286, allocations: 42.62 kB / 1.178 GB, free: 15.83 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.829, allocations: 295.9 kB / 1.178 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.8293, allocations: 64.72 kB / 1.178 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.8295, allocations: 24.12 kB / 1.178 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.8295, allocations: 0 / 1.178 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.8295, allocations: 36.38 kB / 1.178 GB, free: 15.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.8295, allocations: 4 kB / 1.178 GB, free: 15.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.8299, allocations: 88.97 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.8299, allocations: 52.69 kB / 1.178 GB, free: 15.33 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.83, allocations: 123.1 kB / 1.179 GB, free: 15.22 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.83, allocations: 25.7 kB / 1.179 GB, free: 15.19 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.8301, allocations: 92.36 kB / 1.179 GB, free: 15.1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.8301, allocations: 13.95 kB / 1.179 GB, free: 15.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.8301, allocations: 18.59 kB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.8302, allocations: 322.2 kB / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.8303, allocations: 12.47 kB / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.8303, allocations: 17.8 kB / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.8305, allocations: 40.94 kB / 1.179 GB, free: 14.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8305, allocations: 0 / 1.179 GB, free: 14.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001969/0.8307, allocations: 81.09 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8307, allocations: 4.156 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8308, allocations: 5.375 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8308, allocations: 0 / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.8308, allocations: 9.438 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.8309, allocations: 0.9688 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.8309, allocations: 6.266 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.8309, allocations: 0.875 kB / 1.179 GB, free: 14.68 MB / 0.92 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 4.538e-05/0.831, allocations: 120.7 kB / 1.179 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.831, allocations: 6.75 kB / 1.179 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.831, allocations: 6.016 kB / 1.179 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8311, allocations: 1.531 kB / 1.179 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.8311, allocations: 0 / 1.179 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8311, allocations: 0.75 kB / 1.179 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.8312, allocations: 173.8 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8312, allocations: 0 / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.8313, allocations: 9.078 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8313, allocations: 6.016 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.8313, allocations: 4.562 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8313, allocations: 1.281 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8313, allocations: 0.75 kB / 1.179 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.8316, allocations: 172.3 kB / 1.18 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.8316, allocations: 83.89 kB / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.8316, allocations: 0 / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.8317, allocations: 9.766 kB / 1.18 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.8318, allocations: 6.531 kB / 1.18 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.8318, allocations: 1.375 kB / 1.18 GB, free: 14.08 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.8318, allocations: 96.44 kB / 1.18 GB, free: 14 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8318, allocations: 1.625 kB / 1.18 GB, free: 14 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002187/0.832, allocations: 13.59 kB / 1.18 GB, free: 13.99 MB / 0.92 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.65e-05/0.8321, allocations: 95.56 kB / 1.18 GB, free: 13.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.8324, allocations: 47.14 kB / 1.18 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8324, allocations: 0 / 1.18 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/0.8325, allocations: 21.36 kB / 1.18 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.8328, allocations: 5.406 kB / 1.18 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.8332, allocations: 148.2 kB / 1.18 GB, free: 13.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.8333, allocations: 0.6878 MB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.8333, allocations: 2.344 kB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.8334, allocations: 10.8 kB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.8334, allocations: 0 / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of Templates: time 0.002885/0.8363, allocations: 490.6 kB / 1.181 GB, free: 12.96 MB / 0.92 GB [Timeout remaining time 299] 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/jenkins/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:add.k1,add.k2,add.u1,add.y,cheEqu.threShold,cheEqu.u1,cheEqu.u2,cheEqu.y,con.k,con.y,sin1.amplitude,sin1.f,sin1.offset,sin1.phase,sin1.startTime,time