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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] 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=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 0.002011/0.002011, allocations: 67.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002521/1.044, allocations: 1.558 MB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006748/1.045, allocations: 435.1 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/1.045, allocations: 0.9688 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/1.045, allocations: 5.25 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/1.045, allocations: 17.53 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/1.046, allocations: 22.81 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/1.046, allocations: 47.03 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/1.046, allocations: 15.42 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/1.046, allocations: 24.16 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/1.046, allocations: 19.44 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/1.046, allocations: 3.406 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/1.046, allocations: 4.625 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/1.046, allocations: 10.33 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/1.046, allocations: 22.98 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/1.046, allocations: 50.47 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.046, allocations: 0 / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.046, allocations: 0.6875 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.598e-06/1.046, allocations: 0 / 1.274 GB, free: 6.438 MB / 0.9981 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.0004331/1.046, allocations: 357.2 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.046, allocations: 8.75 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/1.047, allocations: 13.89 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/1.047, allocations: 175.3 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.047, allocations: 9.5 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.047, allocations: 3.5 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/1.047, allocations: 69.48 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.047, allocations: 0 / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/1.047, allocations: 0 / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.047, allocations: 0.9688 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/1.047, allocations: 44.58 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/1.047, allocations: 300.2 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/1.048, allocations: 63.25 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/1.048, allocations: 25.56 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/1.048, allocations: 0 / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/1.048, allocations: 39.64 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/1.048, allocations: 0 / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003417/1.048, allocations: 88.61 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/1.048, allocations: 52.44 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/1.048, allocations: 123.3 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/1.048, allocations: 25.7 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/1.048, allocations: 86.52 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/1.048, allocations: 14.94 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.048, allocations: 19.62 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/1.048, allocations: 320.4 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/1.048, allocations: 18.41 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/1.048, allocations: 12.75 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/1.049, allocations: 39.69 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.049, allocations: 4 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001853/1.049, allocations: 72.94 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.049, allocations: 5.312 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.049, allocations: 1 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.049, allocations: 0 / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/1.049, allocations: 13.3 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.049, allocations: 1.344 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/1.049, allocations: 4.781 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/1.049, allocations: 6.75 kB / 1.276 GB, free: 4.641 MB / 0.9981 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.353e-05/1.049, allocations: 116.9 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/1.049, allocations: 9.891 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/1.049, allocations: 7.5 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.049, allocations: 0.7188 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.049, allocations: 3.938 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.049, allocations: 3.969 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/1.049, allocations: 174.2 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.049, allocations: 0.5625 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/1.049, allocations: 13.84 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.049, allocations: 0.5625 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/1.049, allocations: 2.156 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.049, allocations: 0 / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.049, allocations: 0.8438 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/1.05, allocations: 177.4 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/1.05, allocations: 81.98 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/1.05, allocations: 0.75 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/1.05, allocations: 4.766 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/1.05, allocations: 3 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.05, allocations: 1.609 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.91e-05/1.05, allocations: 97.05 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.05, allocations: 0 / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002205/1.05, allocations: 15.52 kB / 1.277 GB, free: 3.949 MB / 0.9981 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 7.681e-05/1.05, allocations: 99.12 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000218/1.05, allocations: 38.66 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.05, allocations: 0.875 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/1.05, allocations: 24.92 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.051, allocations: 5 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/1.051, allocations: 158 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/1.051, allocations: 0.686 MB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.264e-05/1.051, allocations: 3.391 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/1.051, allocations: 10.39 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.051, allocations: 0 / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of Templates: time 0.002617/1.054, allocations: 491.4 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB " [Timeout remaining time 299] 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: 8.933417348191142]