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.001772/0.001772, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.002072/0.002072, allocations: 193.2 kB / 20.03 MB, free: 2.906 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: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] 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=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.00196/0.00196, allocations: 63.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 151.6 MB / 1.176 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002591/0.2943, allocations: 1.525 MB / 1.177 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.2951, allocations: 438.9 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2951, allocations: 0 / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2951, allocations: 3.938 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.2952, allocations: 11.92 kB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.2954, allocations: 31.91 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.2955, allocations: 39.86 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.2956, allocations: 23.92 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.2957, allocations: 23.91 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.2957, allocations: 15.92 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.2958, allocations: 8 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.2958, allocations: 4 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.2958, allocations: 19.92 kB / 1.178 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2959, allocations: 15.88 kB / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.725e-05/0.2959, allocations: 39.81 kB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.296, allocations: 0 / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.296, allocations: 0 / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.296, allocations: 0 / 1.178 GB, free: 3.723 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.0005315/0.2965, allocations: 367.3 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2965, allocations: 12.03 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.2966, allocations: 8.891 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2967, allocations: 180.2 kB / 1.178 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.2968, allocations: 4.375 kB / 1.178 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2968, allocations: 8.375 kB / 1.178 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.297, allocations: 65.97 kB / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.297, allocations: 0 / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.297, allocations: 0 / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.297, allocations: 3.938 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2972, allocations: 43.97 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.2977, allocations: 300.7 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.298, allocations: 62.53 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2981, allocations: 24.91 kB / 1.179 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.2982, allocations: 4 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2982, allocations: 30.56 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2982, allocations: 3.938 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003727/0.2986, allocations: 81.84 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2986, allocations: 59.41 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2987, allocations: 117.8 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2988, allocations: 29.7 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.2988, allocations: 92.09 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2989, allocations: 11.89 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.2989, allocations: 13.7 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.299, allocations: 322.8 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.2991, allocations: 15.98 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.2992, allocations: 19.97 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.2994, allocations: 44.77 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2994, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000217/0.2996, allocations: 73.62 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2997, allocations: 5.875 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2997, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2997, allocations: 3.984 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.2998, allocations: 12 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2998, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.2998, allocations: 11.92 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2999, allocations: 0 / 1.18 GB, free: 1.508 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 7.691e-05/0.2999, allocations: 117.8 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3, allocations: 3.953 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3, allocations: 11.91 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3, allocations: 0 / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3, allocations: 7.938 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3, allocations: 3.984 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3002, allocations: 173.6 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3002, allocations: 0 / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.3003, allocations: 7.984 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3003, allocations: 4 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.3003, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3003, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3003, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3006, allocations: 171.4 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3007, allocations: 85.05 kB / 1.18 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3007, allocations: 4 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.3008, allocations: 4 kB / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3008, allocations: 7.984 kB / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3008, allocations: 0 / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.3009, allocations: 95.27 kB / 1.181 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3009, allocations: 7.938 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002161/0.3011, allocations: 7.938 kB / 1.181 GB, free: 0.7109 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 9.248e-05/0.3012, allocations: 95.25 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3014, allocations: 39.97 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3015, allocations: 0 / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.3016, allocations: 19.98 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3018, allocations: 11.98 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3022, allocations: 176.1 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3025, allocations: 0.6807 MB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3026, allocations: 7.438 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 1.984e-06/0.3026, allocations: 0 / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.002066/0.3046, allocations: 0.7373 MB / 1.182 GB, free: 14.89 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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:cheEqu.u1,cheEqu.u2,cheEqu.y,time [Calling sys.exit(0), Time elapsed: 10.080415626056492]