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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001914/0.001914, allocations: 188.9 kB / 22.23 MB, free: 5.105 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.424/1.424, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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.003213/0.003213, allocations: 63.89 kB / 1.061 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7976, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004383/0.8019, allocations: 1.553 MB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.8031, allocations: 450.2 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.8032, allocations: 1.094 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.009e-05/0.8033, allocations: 3.938 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.8034, allocations: 5.125 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.8037, allocations: 29.11 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.8039, allocations: 41.61 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.804, allocations: 16.73 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.8042, allocations: 32.67 kB / 1.221 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.8042, allocations: 21.44 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.8043, allocations: 7.219 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.8043, allocations: 4.281 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.8043, allocations: 8.875 kB / 1.221 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.8044, allocations: 25.08 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.8045, allocations: 40.02 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8045, allocations: 0 / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8045, allocations: 0.9062 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.8045, allocations: 0 / 1.221 GB, free: 2.066 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.0006607/0.8052, allocations: 369.3 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8052, allocations: 8.281 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.8053, allocations: 7.828 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.8054, allocations: 175.5 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.8055, allocations: 1.656 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.8055, allocations: 11.59 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.8057, allocations: 62.83 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8057, allocations: 5.125 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8057, allocations: 0 / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8058, allocations: 1.188 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.8059, allocations: 42.77 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.8065, allocations: 295.3 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.8068, allocations: 62.23 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.8069, allocations: 21.88 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.8069, allocations: 5 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.8069, allocations: 35.77 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8069, allocations: 0 / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003744/0.8073, allocations: 91.78 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.8074, allocations: 51.41 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8075, allocations: 121.8 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.8075, allocations: 25.7 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.8076, allocations: 94.73 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.8076, allocations: 9.109 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.8076, allocations: 13.22 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8078, allocations: 327.9 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.8078, allocations: 13.73 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.8079, allocations: 17.77 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.8081, allocations: 48.44 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8081, allocations: 0 / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002004/0.8083, allocations: 70.97 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8083, allocations: 13.59 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8083, allocations: 0 / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8083, allocations: 1.312 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.8084, allocations: 9.734 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8084, allocations: 1.125 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.8085, allocations: 3.594 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8085, allocations: 5.172 kB / 1.223 GB, free: 152 kB / 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 9.143e-05/0.8086, allocations: 123 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.8086, allocations: 15.27 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.8086, allocations: 5.094 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8086, allocations: 1.125 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8086, allocations: 0 / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.8087, allocations: 1.141 kB / 1.223 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.8089, allocations: 179.1 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8089, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.8089, allocations: 10.44 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8089, allocations: 1 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.8089, allocations: 9.047 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8089, allocations: 4 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8089, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.8092, allocations: 166 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.8093, allocations: 82.03 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8093, allocations: 1.125 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.8093, allocations: 3.062 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.8094, allocations: 9.141 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.8094, allocations: 1.094 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.8095, allocations: 97.23 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8095, allocations: 1.188 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002229/0.8097, allocations: 13.84 kB / 1.223 GB, free: 15.41 MB / 0.9356 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.66e-05/0.8098, allocations: 97.16 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.81, allocations: 38.28 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.81, allocations: 5.125 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.8101, allocations: 19.42 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.8104, allocations: 4.375 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.8108, allocations: 149.9 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.8111, allocations: 0.685 MB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.8111, allocations: 6.125 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.8111, allocations: 9.688 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8111, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.00281/0.8139, allocations: 498 kB / 1.225 GB, free: 14.19 MB / 0.9356 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.420530091039836]