Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001492/0.001492, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001526/0.001526, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9784/0.9784, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.005/2.005, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.05e-05, allocations: 9.203 kB / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.004667/0.004687, allocations: 0.7604 MB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.005648, allocations: 0.9191 MB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.00568, allocations: 0 / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.005704, allocations: 1.25 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.005774, allocations: 11 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.005914, allocations: 17.02 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.005998, allocations: 47.12 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.006074, allocations: 15.92 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.006159, allocations: 26.14 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.006198, allocations: 15.62 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.006217, allocations: 4 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.006226, allocations: 4 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.006245, allocations: 5.641 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.006265, allocations: 14.84 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.00634, allocations: 29.7 kB / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.006342, allocations: 0 / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006343, allocations: 0 / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.006346, allocations: 5.125 kB / 0.762 GB, free: 4.691 MB / 0.7136 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.0002947/0.006641, allocations: 248.9 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.006671, allocations: 8.906 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.006696, allocations: 4.938 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.00678, allocations: 117.7 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.006789, allocations: 0.9062 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.006797, allocations: 9.125 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006909, allocations: 63.62 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006917, allocations: 192 / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.006923, allocations: 1.188 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.006928, allocations: 384 / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.006955, allocations: 19.94 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.007152, allocations: 149.7 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.007203, allocations: 34.56 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.00722, allocations: 10.11 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.007232, allocations: 4 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.007251, allocations: 30.56 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.007253, allocations: 1.156 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001097/0.007363, allocations: 45.91 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.00739, allocations: 51.41 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.01046, allocations: 115.2 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.01047, allocations: 25.7 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.0105, allocations: 98.84 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.01052, allocations: 7.891 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.01055, allocations: 21.69 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.01064, allocations: 310.8 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.01066, allocations: 4 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.01067, allocations: 7.984 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.0107, allocations: 12.84 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0107, allocations: 3.031 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.134e-05/0.01076, allocations: 37.69 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01077, allocations: 8 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01078, allocations: 3.938 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01079, allocations: 3.938 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.01086, allocations: 11.98 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-06/0.01086, allocations: 3.938 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.01089, allocations: 8 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.0109, allocations: 1.5 kB / 0.7634 GB, free: 3.09 MB / 0.7136 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.386e-05/0.01095, allocations: 117.8 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.01097, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.01099, allocations: 12.66 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.011, allocations: 3.938 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.011, allocations: 1.906 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.011, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.01111, allocations: 69.89 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.01111, allocations: 0 / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.01114, allocations: 11.98 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01114, allocations: 2.438 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.01115, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01115, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01115, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.01123, allocations: 139.4 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.01124, allocations: 7.953 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.01124, allocations: 2.344 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.0113, allocations: 15.98 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.01133, allocations: 0 / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.01133, allocations: 11.92 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.472e-05/0.01135, allocations: 13.16 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01135, allocations: 0 / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001736/0.01152, allocations: 8 kB / 0.7638 GB, free: 2.641 MB / 0.7136 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.771e-05/0.01159, allocations: 77.45 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.01165, allocations: 21.72 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01165, allocations: 4 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.01167, allocations: 11.08 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.01184, allocations: 13.64 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.01205, allocations: 128.5 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.01209, allocations: 61.72 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.01211, allocations: 4 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.01216, allocations: 55.38 kB / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.01216, allocations: 0 / 0.7641 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of Templates: time 0.005185/0.01734, allocations: 0.7345 MB / 0.7649 GB, free: 1.52 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.052300265990198]