Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001098/0.001098, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002609, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00109/0.00109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002376, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8954/0.8954, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08071/0.9761, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.365/2.365, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.604, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.436e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002138/0.002152, allocations: 1.62 MB / 0.8199 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003677/0.005829, allocations: 0.4985 MB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.005876, allocations: 3.938 kB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.005899, allocations: 3.938 kB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.005927, allocations: 3.938 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.006065, allocations: 39.83 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.006152, allocations: 43.86 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.006234, allocations: 23.86 kB / 0.8205 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.006371, allocations: 39.89 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.006404, allocations: 19.92 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.006418, allocations: 4 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.646e-05/0.006474, allocations: 4 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.00649, allocations: 11.94 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.006509, allocations: 8 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.006607, allocations: 39.83 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.00662, allocations: 0 / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00662, allocations: 0 / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.006635, allocations: 0 / 0.8206 GB, free: 0.5625 MB / 0.7917 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.000378/0.007013, allocations: 276.3 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.007043, allocations: 12.03 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.007175, allocations: 94.03 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.007298, allocations: 117.7 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.007318, allocations: 4.375 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.007325, allocations: 384 / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.007453, allocations: 66.92 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.00746, allocations: 192 / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.007466, allocations: 384 / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007475, allocations: 11.94 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.007502, allocations: 15.88 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.007726, allocations: 176.2 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.007844, allocations: 34.56 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.007862, allocations: 4.859 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.007876, allocations: 15.91 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.007898, allocations: 34.5 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.007899, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001046/0.008003, allocations: 41.69 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.008033, allocations: 59.41 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.008091, allocations: 114.8 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.0081, allocations: 25.7 kB / 0.8216 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.008133, allocations: 96.06 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.008149, allocations: 7.891 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.008182, allocations: 17.72 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.008261, allocations: 318.8 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.008273, allocations: 7.938 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.008282, allocations: 0 / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.008309, allocations: 16.84 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00831, allocations: 4 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.003054/0.01136, allocations: 41.62 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01138, allocations: 8 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01138, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.01139, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.01144, allocations: 8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.01145, allocations: 3.938 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.01147, allocations: 3.984 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.01147, allocations: 4 kB / 0.8221 GB, free: 14.78 MB / 0.8073 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.081e-05/0.01153, allocations: 109.8 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.01155, allocations: 11.94 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.01157, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01157, allocations: 3.984 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01157, allocations: 0 / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01158, allocations: 0 / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.01169, allocations: 77.84 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01169, allocations: 7.922 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.01172, allocations: 8 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.01173, allocations: 12 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01173, allocations: 3.938 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.01174, allocations: 3.984 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01174, allocations: 4 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01174, allocations: 0 / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.01182, allocations: 135.5 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.01183, allocations: 0 / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.01188, allocations: 7.938 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.0119, allocations: 3.984 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.0119, allocations: 4.375 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.526e-05/0.01192, allocations: 16.86 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01192, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001649/0.01208, allocations: 8 kB / 0.8225 GB, free: 14.32 MB / 0.8073 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 6.244e-05/0.01215, allocations: 80.41 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.829e-05/0.01221, allocations: 24.83 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.01221, allocations: 0 / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/0.01224, allocations: 16.78 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01239, allocations: 15.94 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.01311, allocations: 146.2 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.01314, allocations: 59.34 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.01316, allocations: 8 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.01321, allocations: 51.38 kB / 0.8229 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01321, allocations: 0 / 0.8229 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.004991/0.01821, allocations: 479 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.080550029873848]