Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001888/0.001888, allocations: 79.58 kB / 19.18 MB, free: 2.527 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.002329/0.002329, allocations: 166.5 kB / 22.46 MB, free: 5.371 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.819/2.819, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9814 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.141e-05, allocations: 8.609 kB / 0.9814 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002692/0.002724, allocations: 1.539 MB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000907/0.003631, allocations: 482.8 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.0037, allocations: 3.938 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.003729, allocations: 7.875 kB / 0.9834 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.003777, allocations: 0 / 0.9834 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.004042, allocations: 35.84 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004156, allocations: 59.7 kB / 0.9834 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004266, allocations: 8 kB / 0.9835 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.004442, allocations: 39.95 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.004482, allocations: 15.92 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004501, allocations: 7.938 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.004544, allocations: 8 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.004563, allocations: 11.92 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.00459, allocations: 11.98 kB / 0.9835 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004716, allocations: 47.81 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004719, allocations: 0 / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00472, allocations: 0 / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004724, allocations: 4 kB / 0.9836 GB, free: 9.766 MB / 0.9356 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.0005394/0.005263, allocations: 302 kB / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.005302, allocations: 12.03 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.005446, allocations: 8.938 kB / 0.9839 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.00564, allocations: 121.7 kB / 0.984 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.005663, allocations: 4.375 kB / 0.984 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.005672, allocations: 384 / 0.984 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.005883, allocations: 70.22 kB / 0.9841 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005891, allocations: 192 / 0.9841 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.0059, allocations: 4.375 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.005913, allocations: 3.938 kB / 0.9841 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.006112, allocations: 39.97 kB / 0.9841 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.006515, allocations: 228.5 kB / 0.9844 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.006873, allocations: 66.47 kB / 0.9844 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.006978, allocations: 24.89 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.006997, allocations: 8 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.007024, allocations: 38.5 kB / 0.9845 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.007025, allocations: 0 / 0.9845 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004055/0.007431, allocations: 89.55 kB / 0.9846 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.00747, allocations: 55.41 kB / 0.9846 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.007564, allocations: 109.8 kB / 0.9847 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.00758, allocations: 26.08 kB / 0.9848 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.00764, allocations: 100.1 kB / 0.9848 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.007664, allocations: 19.97 kB / 0.9849 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.007703, allocations: 17.7 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.007841, allocations: 318.8 kB / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.007938, allocations: 15.98 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/0.00803, allocations: 15.98 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.008212, allocations: 44.77 kB / 0.9853 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.008216, allocations: 3.938 kB / 0.9853 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002302/0.008446, allocations: 69.67 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00846, allocations: 4 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.008468, allocations: 4 kB / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.00848, allocations: 0 / 0.9853 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.008563, allocations: 7.984 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.008567, allocations: 0 / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.008624, allocations: 7.984 kB / 0.9854 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.008634, allocations: 4 kB / 0.9854 GB, free: 7.785 MB / 0.9356 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 8.97e-05/0.008724, allocations: 117.7 kB / 0.9855 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.008754, allocations: 11.95 kB / 0.9855 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.008783, allocations: 4 kB / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008785, allocations: 0 / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008789, allocations: 0 / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008792, allocations: 4 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.008945, allocations: 117.3 kB / 0.9856 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.008948, allocations: 3.938 kB / 0.9856 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.009025, allocations: 8 kB / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009027, allocations: 0 / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009035, allocations: 0 / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.009039, allocations: 3.984 kB / 0.9856 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00904, allocations: 4 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.009325, allocations: 163.5 kB / 0.9858 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.009335, allocations: 7.875 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.009356, allocations: 7.984 kB / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.009447, allocations: 4 kB / 0.9858 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.009482, allocations: 8.312 kB / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.009487, allocations: 0 / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.009543, allocations: 91.27 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009543, allocations: 288 / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002337/0.009776, allocations: 15.94 kB / 0.9859 GB, free: 7.168 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 0.0001084/0.009885, allocations: 91.78 kB / 0.986 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.01012, allocations: 51.88 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01013, allocations: 0 / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01023, allocations: 23.92 kB / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01048, allocations: 12.86 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.01087, allocations: 144.7 kB / 0.9862 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.01094, allocations: 71.59 kB / 0.9863 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.01097, allocations: 3.984 kB / 0.9863 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.01101, allocations: 12.5 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01101, allocations: 0 / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of Templates: time 0.003041/0.01405, allocations: 450.4 kB / 0.9867 GB, free: 6.277 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.847905583679676]