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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 199.9 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001935/0.001935, allocations: 67.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7452, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003545/0.7487, allocations: 1.536 MB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.7499, allocations: 452.4 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.7499, allocations: 0 / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.75, allocations: 3.938 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.75, allocations: 3.938 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.7503, allocations: 35.89 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.7504, allocations: 39.86 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.7505, allocations: 15.98 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.7506, allocations: 27.86 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.7507, allocations: 23.91 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.7507, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.7507, allocations: 4 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.7507, allocations: 15.92 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.7508, allocations: 19.88 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.7509, allocations: 38.55 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7509, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7509, allocations: 7.938 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7509, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 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.0007065/0.7516, allocations: 369.7 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7516, allocations: 8.031 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.7517, allocations: 12.89 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.7518, allocations: 172.3 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.7519, allocations: 8.312 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.7519, allocations: 4.375 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.7521, allocations: 65.97 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7521, allocations: 4 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.7521, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7521, allocations: 4 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.7523, allocations: 43.91 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.7529, allocations: 292.7 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.7533, allocations: 66.53 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.7535, allocations: 20.91 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.7535, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7535, allocations: 34.56 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7535, allocations: 0 / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005506/0.7541, allocations: 93.55 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.7541, allocations: 51.41 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.7543, allocations: 125.8 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7543, allocations: 25.7 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.7543, allocations: 92.16 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.7544, allocations: 11.94 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.7544, allocations: 17.7 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.7546, allocations: 326.8 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.7547, allocations: 15.98 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.7549, allocations: 11.98 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.7551, allocations: 40.83 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7551, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003604/0.7555, allocations: 81.88 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7555, allocations: 15.92 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7555, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7555, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.7556, allocations: 8 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7556, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.7557, allocations: 7.984 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.7557, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 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 9.671e-05/0.7558, allocations: 118.3 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.7558, allocations: 3.953 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.7558, allocations: 11.91 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7558, allocations: 3.984 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7558, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7559, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.7561, allocations: 173.6 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7561, allocations: 4 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.7562, allocations: 7.984 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7562, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7562, allocations: 7.938 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7562, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7563, allocations: 8 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.7566, allocations: 167.4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.7567, allocations: 81.11 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.7567, allocations: 3.938 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7568, allocations: 7.984 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.7568, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.7568, allocations: 8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.7569, allocations: 95.27 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7569, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003471/0.7573, allocations: 7.938 kB / 1.279 GB, free: 15.36 MB / 0.9825 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.0001231/0.7574, allocations: 95.25 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.7577, allocations: 43.91 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7577, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.7578, allocations: 27.97 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.7583, allocations: 13.59 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.7587, allocations: 150.5 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.7592, allocations: 0.6807 MB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.7592, allocations: 4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.7592, allocations: 15.38 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.7592, allocations: 4 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.002974/0.7622, allocations: 491.5 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.292881758883595]