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.00139/0.00139, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001586/0.001586, allocations: 207.7 kB / 23 MB, free: 4.57 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.8 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 65.89 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2958, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002799/0.2986, allocations: 1.564 MB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.2995, allocations: 0.5082 MB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.2995, allocations: 0 / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.2996, allocations: 7.875 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.2996, allocations: 7.875 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2999, allocations: 43.89 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3, allocations: 43.91 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3001, allocations: 11.94 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3002, allocations: 31.86 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.3003, allocations: 27.83 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3003, allocations: 4 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.865e-05/0.3003, allocations: 12 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.3003, allocations: 7.938 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.3004, allocations: 23.86 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3005, allocations: 43.88 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3005, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3005, allocations: 4 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3005, allocations: 0 / 1.287 GB, free: 8.945 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.0005109/0.301, allocations: 298 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3011, allocations: 8.031 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.3012, allocations: 12.89 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3014, allocations: 122.4 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3014, allocations: 4.375 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3014, allocations: 8.375 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3016, allocations: 65.97 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3016, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3016, allocations: 4 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3016, allocations: 0 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3018, allocations: 39.97 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3023, allocations: 275.7 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3026, allocations: 58.61 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.3027, allocations: 20.84 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3027, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3027, allocations: 42.55 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3027, allocations: 4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003752/0.3031, allocations: 81.59 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3031, allocations: 51.41 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3033, allocations: 124.3 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3033, allocations: 29.7 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.3033, allocations: 92.09 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.3034, allocations: 11.95 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.3034, allocations: 21.64 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3035, allocations: 318.8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.3036, allocations: 15.98 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.3037, allocations: 15.98 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3039, allocations: 40.83 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3039, allocations: 4 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002175/0.3041, allocations: 77.84 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3041, allocations: 4 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3041, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3041, allocations: 0 / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.3042, allocations: 12.03 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3042, allocations: 0 / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.3043, allocations: 15.91 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.3043, allocations: 4 kB / 1.289 GB, free: 6.914 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 8.442e-05/0.3043, allocations: 121.7 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.3044, allocations: 3.953 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3044, allocations: 12 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3046, allocations: 148.7 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3046, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.3047, allocations: 15.92 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3047, allocations: 4 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3047, allocations: 0 / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3047, allocations: 0 / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3047, allocations: 0 / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.305, allocations: 175.4 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.305, allocations: 4 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.305, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.3051, allocations: 8 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3051, allocations: 7.984 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3051, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.3052, allocations: 100.3 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3052, allocations: 0 / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002234/0.3054, allocations: 7.938 kB / 1.289 GB, free: 6.246 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 9.313e-05/0.3055, allocations: 97.5 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3057, allocations: 43.91 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3057, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/0.3058, allocations: 19.98 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.3061, allocations: 11.92 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.3065, allocations: 172.6 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3068, allocations: 0.6884 MB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3068, allocations: 11.44 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3068, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.002293/0.3091, allocations: 0.7368 MB / 1.291 GB, free: 4.406 MB / 0.9825 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/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 [Calling sys.exit(0), Time elapsed: 11.704647712002043]