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.001462/0.001462, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001643/0.001643, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.46/1.46, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.685/2.685, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.777e-05, allocations: 5.125 kB / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003016/0.003044, allocations: 1.542 MB / 0.7878 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.004116, allocations: 486.9 kB / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.004184, allocations: 0 / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.004223, allocations: 7.922 kB / 0.7883 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.004282, allocations: 11.86 kB / 0.7883 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.004554, allocations: 33.12 kB / 0.7884 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.004685, allocations: 51.84 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.004777, allocations: 15.97 kB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.00495, allocations: 36.47 kB / 0.7884 GB, free: 9.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.004993, allocations: 21.16 kB / 0.7885 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.005011, allocations: 4 kB / 0.7885 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.005055, allocations: 8 kB / 0.7885 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.005074, allocations: 11.92 kB / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.005105, allocations: 8.969 kB / 0.7885 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.005241, allocations: 51.8 kB / 0.7886 GB, free: 9.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005243, allocations: 0.5 kB / 0.7886 GB, free: 9.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005244, allocations: 0 / 0.7886 GB, free: 9.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005249, allocations: 5.344 kB / 0.7886 GB, free: 9.484 MB / 0.698 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.0005535/0.005802, allocations: 286.1 kB / 0.7888 GB, free: 9.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.005837, allocations: 14.56 kB / 0.7888 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.005993, allocations: 12.92 kB / 0.7889 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.00622, allocations: 129.7 kB / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.006242, allocations: 4.312 kB / 0.789 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.006254, allocations: 4.375 kB / 0.789 GB, free: 8.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.006466, allocations: 67.91 kB / 0.7891 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006474, allocations: 192 / 0.7891 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006484, allocations: 384 / 0.7891 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006491, allocations: 7.938 kB / 0.7891 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.006692, allocations: 40.56 kB / 0.7891 GB, free: 8.875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.007117, allocations: 233 kB / 0.7893 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.007465, allocations: 69.03 kB / 0.7894 GB, free: 8.543 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.007577, allocations: 20.84 kB / 0.7894 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.007594, allocations: 0 / 0.7894 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.007626, allocations: 35.53 kB / 0.7894 GB, free: 8.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.007627, allocations: 0 / 0.7894 GB, free: 8.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004116/0.008038, allocations: 90.3 kB / 0.7895 GB, free: 8.383 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.008087, allocations: 57.97 kB / 0.7896 GB, free: 8.316 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.008197, allocations: 109.8 kB / 0.7897 GB, free: 8.199 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.008218, allocations: 25.7 kB / 0.7897 GB, free: 8.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.008284, allocations: 92.06 kB / 0.7898 GB, free: 8.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.00831, allocations: 15.91 kB / 0.7898 GB, free: 8.059 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.008349, allocations: 13.72 kB / 0.7898 GB, free: 8.039 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.008533, allocations: 318.8 kB / 0.7901 GB, free: 7.719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.008635, allocations: 16.52 kB / 0.7901 GB, free: 7.703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.418e-05/0.008719, allocations: 16.7 kB / 0.7902 GB, free: 7.688 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.0089, allocations: 43.02 kB / 0.7902 GB, free: 7.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.008905, allocations: 3.938 kB / 0.7902 GB, free: 7.641 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002355/0.00914, allocations: 69.61 kB / 0.7903 GB, free: 7.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.009154, allocations: 4.531 kB / 0.7903 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.009162, allocations: 12.58 kB / 0.7903 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.009179, allocations: 0 / 0.7903 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.009261, allocations: 8.766 kB / 0.7903 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.009268, allocations: 4 kB / 0.7903 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.009318, allocations: 1.484 kB / 0.7903 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.009331, allocations: 7.984 kB / 0.7903 GB, free: 7.531 MB / 0.698 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.0001037/0.009434, allocations: 115.2 kB / 0.7904 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.00947, allocations: 7.953 kB / 0.7904 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.009502, allocations: 11.98 kB / 0.7904 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.009506, allocations: 5.844 kB / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.009509, allocations: 0 / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.009512, allocations: 0 / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.009674, allocations: 113.4 kB / 0.7906 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009677, allocations: 3.938 kB / 0.7906 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.009756, allocations: 21.02 kB / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009758, allocations: 0 / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.009765, allocations: 0 / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009766, allocations: 0.8438 kB / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009767, allocations: 0 / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.01007, allocations: 172.9 kB / 0.7907 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01008, allocations: 7.938 kB / 0.7908 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.01009, allocations: 0 / 0.7908 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.01018, allocations: 9.109 kB / 0.7908 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.01021, allocations: 0 / 0.7908 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.01022, allocations: 0 / 0.7908 GB, free: 7.023 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.969e-05/0.01029, allocations: 93.2 kB / 0.7908 GB, free: 6.934 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 0 / 0.7908 GB, free: 6.934 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002359/0.01052, allocations: 11.94 kB / 0.7909 GB, free: 6.922 MB / 0.698 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.0001166/0.01064, allocations: 95.25 kB / 0.791 GB, free: 6.816 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.01087, allocations: 42.36 kB / 0.791 GB, free: 6.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01087, allocations: 0 / 0.791 GB, free: 6.777 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.01097, allocations: 19.98 kB / 0.791 GB, free: 6.758 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01122, allocations: 7.938 kB / 0.791 GB, free: 6.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.01164, allocations: 150.9 kB / 0.7912 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.678e-05/0.01172, allocations: 67.34 kB / 0.7912 GB, free: 6.492 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.01175, allocations: 4.891 kB / 0.7912 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.01178, allocations: 8.5 kB / 0.7912 GB, free: 6.48 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.01179, allocations: 0 / 0.7912 GB, free: 6.48 MB / 0.698 GB Notification: Performance of Templates: time 0.00288/0.01467, allocations: 473.3 kB / 0.7917 GB, free: 6.043 MB / 0.698 GB " [Timeout remaining time 300] 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: 7.20592222106643]