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.0007852/0.0007852, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.001042/0.001042, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9121/0.9121, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.796/1.796, allocations: 377.9 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.793e-06/1.793e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.843e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002012/0.002041, allocations: 1.541 MB / 0.9837 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.002706, allocations: 490.7 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.002763, allocations: 0 / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.002792, allocations: 3.938 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.002835, allocations: 3.938 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.003095, allocations: 43.77 kB / 0.9842 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003209, allocations: 47.91 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003311, allocations: 11.94 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.003456, allocations: 35.89 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.003485, allocations: 15.98 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.0035, allocations: 4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.003536, allocations: 4 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.003551, allocations: 19.91 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.003572, allocations: 8 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.003689, allocations: 59.73 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003692, allocations: 3.938 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003693, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003697, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 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.0003956/0.004093, allocations: 294.1 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.004127, allocations: 12.02 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.004229, allocations: 12.94 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.004397, allocations: 117.7 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.004418, allocations: 4.375 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.004427, allocations: 4.375 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004563, allocations: 66.22 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.00457, allocations: 192 / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.00458, allocations: 4.375 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.004585, allocations: 3.938 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.004682, allocations: 43.91 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.004983, allocations: 228.5 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.00519, allocations: 74.41 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.005241, allocations: 20.91 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.005257, allocations: 7.938 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.005272, allocations: 30.56 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005273, allocations: 0 / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002283/0.005502, allocations: 85.59 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.005532, allocations: 59.41 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.005594, allocations: 117.8 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.005604, allocations: 25.7 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.005643, allocations: 92.06 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.005661, allocations: 11.91 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.005688, allocations: 17.72 kB / 0.9857 GB, free: 14.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.005773, allocations: 318.8 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.005821, allocations: 12.36 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.005862, allocations: 19.98 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.005951, allocations: 44.83 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.005954, allocations: 3.938 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/0.006067, allocations: 65.61 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.006081, allocations: 4 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006086, allocations: 0 / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006098, allocations: 4 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.006141, allocations: 15.92 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.006145, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.00617, allocations: 8 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.006177, allocations: 3.984 kB / 0.9861 GB, free: 13.86 MB / 0.948 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 5.61e-05/0.006233, allocations: 113.8 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.006247, allocations: 7.953 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.006275, allocations: 8 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006277, allocations: 0 / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006281, allocations: 0 / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006283, allocations: 0 / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.006376, allocations: 117.3 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.006379, allocations: 7.922 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.00641, allocations: 12 kB / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006411, allocations: 0 / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006418, allocations: 0 / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.00642, allocations: 7.938 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.006422, allocations: 3.984 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.006572, allocations: 167.4 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.006578, allocations: 3.938 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.006589, allocations: 4 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.006629, allocations: 3.984 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.00666, allocations: 8 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.006664, allocations: 0 / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.006702, allocations: 91.27 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006702, allocations: 0 / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001474/0.006849, allocations: 15.94 kB / 0.9867 GB, free: 13.25 MB / 0.948 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 8.029e-05/0.006929, allocations: 91.78 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.007065, allocations: 40.33 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007066, allocations: 3.938 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.007111, allocations: 24.27 kB / 0.9868 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.007305, allocations: 14.69 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.007604, allocations: 170.6 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.007659, allocations: 71.59 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.007692, allocations: 16.47 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007692, allocations: 4 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of Templates: time 0.001525/0.009218, allocations: 0.7227 MB / 0.9878 GB, free: 12.03 MB / 0.948 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] "" 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: 6.591378741897643]