Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001503/0.001503, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001627/0.001627, allocations: 173 kB / 23.36 MB, free: 1.133 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 2.445/2.445, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.6e-05, allocations: 8.641 kB / 0.8387 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.004796/0.004822, allocations: 0.7577 MB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.005841, allocations: 0.9054 MB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.005878, allocations: 4 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.005905, allocations: 3.938 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.005978, allocations: 11.86 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.006133, allocations: 27.91 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.006213, allocations: 39.86 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.006306, allocations: 7.984 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.006397, allocations: 23.98 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.006439, allocations: 15.92 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.006458, allocations: 7.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.006467, allocations: 8 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.006488, allocations: 11.97 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.006516, allocations: 11.94 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.006602, allocations: 23.97 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006605, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.393e-06/0.006606, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.006612, allocations: 3.984 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000315/0.006927, allocations: 256.8 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006964, allocations: 8.625 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.006992, allocations: 4.938 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.007077, allocations: 113.8 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.007087, allocations: 384 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.007096, allocations: 8.375 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.01023, allocations: 58.94 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.01024, allocations: 8.062 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.01025, allocations: 384 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.01025, allocations: 384 / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.01028, allocations: 15.92 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.01051, allocations: 152.3 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.01056, allocations: 22.64 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.01059, allocations: 20.78 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.0106, allocations: 0 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01062, allocations: 34.56 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.01063, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.01075, allocations: 41.72 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.01078, allocations: 55.41 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.01084, allocations: 118.7 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.01085, allocations: 25.7 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.01088, allocations: 96.11 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.0109, allocations: 11.84 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.01093, allocations: 17.72 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.01101, allocations: 314.8 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.01103, allocations: 11.92 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.01104, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.01107, allocations: 12.86 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01107, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.831e-05/0.01113, allocations: 37.69 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01115, allocations: 8 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.01115, allocations: 7.984 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01117, allocations: 3.938 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.01124, allocations: 8 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01125, allocations: 7.938 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.01127, allocations: 11.98 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.01128, allocations: 0 / 0.842 GB, free: 10.56 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.318e-05/0.01133, allocations: 109.8 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.01135, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.01138, allocations: 12 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01138, allocations: 3.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01138, allocations: 3.984 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01138, allocations: 3.938 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.01149, allocations: 73.89 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.01149, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.01153, allocations: 11.98 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.01153, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.01153, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.01153, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01153, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.822e-05/0.01162, allocations: 139.4 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.01163, allocations: 7.984 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.01164, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.0117, allocations: 8 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.01173, allocations: 8.359 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.01173, allocations: 3.938 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.263e-05/0.01174, allocations: 12.86 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001877/0.01193, allocations: 11.95 kB / 0.8423 GB, free: 10.11 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 9.101e-05/0.01202, allocations: 80.41 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.01209, allocations: 16.84 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.01209, allocations: 0 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.01212, allocations: 24.77 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.01229, allocations: 8 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.01253, allocations: 120.5 kB / 0.8426 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.01256, allocations: 63.28 kB / 0.8426 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.01258, allocations: 0 / 0.8426 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.01264, allocations: 59.38 kB / 0.8427 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of SimCode: time 4.8e-07/0.01264, allocations: 0 / 0.8427 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of Templates: time 0.005349/0.01799, allocations: 0.7425 MB / 0.8434 GB, free: 8.953 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.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.354729586280882]