Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001844/0.001844, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.002538/0.002538, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.006/3.006, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002076/0.002076, allocations: 75.91 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002416/1.141, allocations: 1.554 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007243/1.142, allocations: 0.5144 MB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/1.142, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/1.142, allocations: 3.938 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/1.142, allocations: 7.938 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/1.142, allocations: 39.23 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000111/1.142, allocations: 45.41 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/1.142, allocations: 13.41 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/1.142, allocations: 33.53 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/1.142, allocations: 23.75 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/1.142, allocations: 4.625 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/1.142, allocations: 6.281 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/1.142, allocations: 14.17 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/1.142, allocations: 22.72 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/1.143, allocations: 44.23 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.143, allocations: 2.844 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/1.143, allocations: 0 / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.143, allocations: 0 / 1.324 GB, free: 23.5 MB / 1.061 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.0004753/1.143, allocations: 366.3 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.143, allocations: 16.23 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/1.143, allocations: 16.55 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.143, allocations: 192.7 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.143, allocations: 3.125 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.143, allocations: 3.188 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.144, allocations: 73.47 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.144, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.144, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.144, allocations: 2.875 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/1.144, allocations: 43.91 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/1.144, allocations: 299.6 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/1.144, allocations: 58.91 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/1.145, allocations: 23.42 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/1.145, allocations: 4 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/1.145, allocations: 36.86 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/1.145, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003549/1.145, allocations: 91.33 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/1.145, allocations: 51.41 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/1.145, allocations: 124 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.145, allocations: 29.7 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/1.145, allocations: 90.81 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/1.145, allocations: 7.953 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/1.145, allocations: 15.61 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/1.145, allocations: 321.5 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/1.145, allocations: 16.73 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/1.145, allocations: 17.36 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/1.146, allocations: 40.73 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.146, allocations: 2.812 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001922/1.146, allocations: 74.78 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.146, allocations: 6.062 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.146, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.146, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/1.146, allocations: 12.22 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.146, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/1.146, allocations: 10.97 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.146, allocations: 3.938 kB / 1.326 GB, free: 21.68 MB / 1.061 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 5.015e-05/1.146, allocations: 119.9 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/1.146, allocations: 6.984 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/1.146, allocations: 6.875 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.146, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.146, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.146, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/1.146, allocations: 186.9 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.146, allocations: 0 / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/1.146, allocations: 13.05 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.146, allocations: 0 / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/1.146, allocations: 2.844 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.146, allocations: 0 / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.146, allocations: 3.938 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/1.146, allocations: 174.3 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/1.146, allocations: 79.89 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.146, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/1.147, allocations: 6.312 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/1.147, allocations: 6.859 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.147, allocations: 4 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.574e-05/1.147, allocations: 92.7 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.147, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002167/1.147, allocations: 15.7 kB / 1.327 GB, free: 20.99 MB / 1.061 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.537e-05/1.147, allocations: 100.7 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.147, allocations: 40.25 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.147, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/1.147, allocations: 24.84 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/1.147, allocations: 0 / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/1.148, allocations: 188.7 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/1.148, allocations: 0.6801 MB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/1.148, allocations: 14.05 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.148, allocations: 0 / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of Templates: time 0.002106/1.15, allocations: 0.7479 MB / 1.329 GB, free: 19.95 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.828099775011651]