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.001715/0.001715, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002093/0.002093, allocations: 222 kB / 23 MB, free: 4.918 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.949/2.949, allocations: 476 MB / 0.7707 GB, free: 4.719 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.002269/0.002269, allocations: 65.61 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3261, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004099/0.3302, allocations: 1.541 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3315, allocations: 484.5 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.3316, allocations: 0 / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3316, allocations: 3.938 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.3317, allocations: 7.938 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.332, allocations: 35.91 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3322, allocations: 47.83 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3323, allocations: 19.94 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3325, allocations: 19.92 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.3325, allocations: 27.91 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3325, allocations: 4 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.3326, allocations: 7.984 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.3326, allocations: 11.94 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.3327, allocations: 15.92 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3328, allocations: 55.69 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3328, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3328, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3328, allocations: 0 / 1.286 GB, free: 9.73 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.0006673/0.3335, allocations: 294.1 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3336, allocations: 8.031 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3337, allocations: 20.88 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.334, allocations: 122.4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3341, allocations: 4.375 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3341, allocations: 384 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3344, allocations: 73.91 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3344, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3344, allocations: 4 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3344, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.3347, allocations: 43.97 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.3352, allocations: 232.4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.3356, allocations: 66.47 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3358, allocations: 24.84 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3358, allocations: 4 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3358, allocations: 34.56 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.3358, allocations: 0 / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005364/0.3364, allocations: 81.61 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.3364, allocations: 59.34 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3366, allocations: 113.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3366, allocations: 25.7 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.3367, allocations: 92.08 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.3367, allocations: 11.95 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.3367, allocations: 13.72 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3369, allocations: 326.8 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3371, allocations: 15.98 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3372, allocations: 19.98 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3374, allocations: 45.09 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3374, allocations: 0 / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.3377, allocations: 69.56 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3378, allocations: 8 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3378, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3378, allocations: 4 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3379, allocations: 11.98 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3379, allocations: 0 / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.338, allocations: 4.375 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.338, allocations: 3.984 kB / 1.288 GB, free: 7.758 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 0.0001118/0.3381, allocations: 113.8 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3381, allocations: 4 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.3382, allocations: 11.94 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3382, allocations: 4 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3382, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3382, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3384, allocations: 121.2 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3384, allocations: 3.984 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3385, allocations: 8 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3385, allocations: 0 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3386, allocations: 3.938 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3386, allocations: 0 / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3386, allocations: 3.984 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.3389, allocations: 175.4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.339, allocations: 11.89 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.339, allocations: 4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3391, allocations: 7.984 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3392, allocations: 4 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3392, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.3393, allocations: 91.27 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004009/0.3397, allocations: 8 kB / 1.288 GB, free: 7.133 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 0.0001344/0.3398, allocations: 95.25 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.3401, allocations: 47.89 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3401, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3403, allocations: 19.98 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3407, allocations: 3.938 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3412, allocations: 172.6 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.953e-05/0.3413, allocations: 71.59 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.3413, allocations: 15.42 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3413, allocations: 0 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.003074/0.3444, allocations: 0.7298 MB / 1.289 GB, free: 5.926 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.761953284032643]