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.001393/0.001393, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001522/0.001522, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.436/1.436, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.914e-06/1.914e-06, allocations: 0.5469 kB / 0.8775 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.703e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002982/0.003009, allocations: 1.553 MB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004015, allocations: 477.8 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.004082, allocations: 4 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.004115, allocations: 5.438 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.004188, allocations: 7.875 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.004469, allocations: 37.06 kB / 0.8796 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.004609, allocations: 51.83 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004712, allocations: 8 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.004914, allocations: 39.23 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.004967, allocations: 19.92 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.004987, allocations: 4 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.005031, allocations: 11.92 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.005045, allocations: 4 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.005094, allocations: 19.92 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.005242, allocations: 43.88 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005244, allocations: 0 / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005245, allocations: 0 / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.005249, allocations: 0.5938 kB / 0.8798 GB, free: 4.285 MB / 0.8386 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.000588/0.005837, allocations: 299.6 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.005877, allocations: 8.031 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.00606, allocations: 24.88 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.006284, allocations: 119.2 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.006312, allocations: 8.359 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.00633, allocations: 8.312 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.006553, allocations: 66.23 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006563, allocations: 192 / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.006573, allocations: 384 / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.006581, allocations: 3.938 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.006782, allocations: 39.97 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.007256, allocations: 232.4 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.007625, allocations: 66.48 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.007732, allocations: 24.91 kB / 0.8806 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.00775, allocations: 0 / 0.8806 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.007782, allocations: 34.56 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.007783, allocations: 0 / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004472/0.00823, allocations: 93.58 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.008278, allocations: 51.41 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.008397, allocations: 117.8 kB / 0.8809 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.008417, allocations: 29.7 kB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.008496, allocations: 96.03 kB / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.008515, allocations: 3.953 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.008559, allocations: 21.7 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.008739, allocations: 314.8 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.00884, allocations: 15.98 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.008936, allocations: 15.98 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.00912, allocations: 36.83 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.009124, allocations: 7.938 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002491/0.009373, allocations: 77.56 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.00939, allocations: 7.984 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009395, allocations: 0 / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.009414, allocations: 3.938 kB / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.009499, allocations: 8 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009504, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.802e-05/0.009562, allocations: 7.984 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.009569, allocations: 0 / 0.8815 GB, free: 2.309 MB / 0.8386 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.0001035/0.009672, allocations: 121.8 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.009706, allocations: 7.953 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.009739, allocations: 8 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009743, allocations: 3.984 kB / 0.8817 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.009747, allocations: 0 / 0.8817 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.00975, allocations: 336 / 0.8817 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.009936, allocations: 121.4 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.009939, allocations: 3.938 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.01002, allocations: 15.92 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.01003, allocations: 3.984 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01003, allocations: 4 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01004, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01004, allocations: 0 / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.01035, allocations: 163.5 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01036, allocations: 7.891 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01038, allocations: 4 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.01047, allocations: 0 / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.01051, allocations: 7.984 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01051, allocations: 0 / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.01058, allocations: 91.28 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01058, allocations: 0 / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002523/0.01083, allocations: 19.92 kB / 0.8821 GB, free: 1.68 MB / 0.8386 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.0001126/0.01094, allocations: 95.19 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01117, allocations: 35.97 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01117, allocations: 0 / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.01127, allocations: 19.98 kB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01152, allocations: 11.94 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01193, allocations: 144.5 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.01201, allocations: 75.44 kB / 0.8824 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.01204, allocations: 0 / 0.8824 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.01208, allocations: 20.44 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.01208, allocations: 0 / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of Templates: time 0.003015/0.0151, allocations: 473.7 kB / 0.8829 GB, free: 0.7773 MB / 0.8386 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.894292272045277]