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.001858/0.001858, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002143/0.002143, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.824 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.812/2.812, allocations: 476 MB / 0.7699 GB, free: 4.961 MB / 0.6231 GB " [Timeout remaining time 177] 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.002295/0.002295, allocations: 68.33 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3164, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003202/0.3196, allocations: 1.554 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3206, allocations: 472.5 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.3207, allocations: 0 / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.3207, allocations: 3.938 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.3208, allocations: 7.938 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3211, allocations: 35.89 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3212, allocations: 55.78 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3214, allocations: 12 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3216, allocations: 23.91 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.3216, allocations: 23.86 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3216, allocations: 4 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.3217, allocations: 7.984 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.3217, allocations: 15.88 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3217, allocations: 27.84 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3219, allocations: 39.83 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3219, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3219, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3219, allocations: 0 / 1.285 GB, free: 9.715 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.0005987/0.3225, allocations: 294 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3225, allocations: 12.02 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3227, allocations: 16.89 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3229, allocations: 122.5 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3229, allocations: 4.375 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3229, allocations: 384 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3231, allocations: 77.91 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3232, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3232, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3232, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3234, allocations: 39.97 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3238, allocations: 228.4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.3241, allocations: 70.45 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3242, allocations: 24.91 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3242, allocations: 4 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3243, allocations: 30.56 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3243, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003904/0.3247, allocations: 85.55 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3247, allocations: 55.41 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3248, allocations: 113.8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.3248, allocations: 29.7 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3249, allocations: 92.08 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3249, allocations: 12.33 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.325, allocations: 13.72 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3251, allocations: 322.8 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.3252, allocations: 11.98 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.3253, allocations: 23.92 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3255, allocations: 40.83 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3255, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002173/0.3257, allocations: 73.56 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3257, allocations: 4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3257, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3257, allocations: 7.938 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.3258, allocations: 7.984 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3258, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.3259, allocations: 8 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3259, allocations: 3.984 kB / 1.287 GB, free: 7.742 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 9.427e-05/0.326, allocations: 117.8 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.326, allocations: 8 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.326, allocations: 4 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.326, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.326, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.326, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.3262, allocations: 129.3 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3262, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.3263, allocations: 8 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3263, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3263, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3263, allocations: 3.984 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3263, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3266, allocations: 171.4 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.3266, allocations: 12.27 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3266, allocations: 8 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.3267, allocations: 3.984 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.3267, allocations: 4 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3267, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.3268, allocations: 95.27 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3268, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002256/0.327, allocations: 8 kB / 1.288 GB, free: 7.117 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.958e-05/0.3271, allocations: 95.52 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.3274, allocations: 47.89 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.3274, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.3275, allocations: 23.92 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3277, allocations: 7.938 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3281, allocations: 146.9 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.969e-05/0.3282, allocations: 67.59 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.3282, allocations: 3.984 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3282, allocations: 15.38 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3282, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.002786/0.331, allocations: 473.1 kB / 1.288 GB, free: 6.207 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.66736413910985]