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.0009527/0.0009527, allocations: 80.8 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.0009364/0.0009364, allocations: 161.4 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.9449/0.9449, allocations: 177.1 MB / 204.6 MB, free: 5.465 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 1.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.502e-06/1.502e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.777e-05, allocations: 5.125 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001492/0.001519, allocations: 0.7255 MB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.002407, allocations: 0.9106 MB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.002445, allocations: 5.094 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002472, allocations: 4.594 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.002548, allocations: 6.344 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.002708, allocations: 17.45 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.002787, allocations: 43.41 kB / 0.7618 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.00287, allocations: 15.92 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.002958, allocations: 31.27 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.003005, allocations: 17.52 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.00303, allocations: 4 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.003038, allocations: 0.9688 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.003058, allocations: 13.52 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003079, allocations: 10.19 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.003164, allocations: 30.69 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003166, allocations: 0 / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003167, allocations: 1.312 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003171, allocations: 0 / 0.7619 GB, free: 4.789 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.000308/0.003479, allocations: 244.9 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.003513, allocations: 14.09 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.003539, allocations: 5.594 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.003616, allocations: 117.7 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.003627, allocations: 4.375 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.003637, allocations: 384 / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.003755, allocations: 68.44 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.003762, allocations: 192 / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.00377, allocations: 8.312 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003775, allocations: 384 / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.003795, allocations: 9.188 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.004001, allocations: 152.3 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.004062, allocations: 34.5 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.004078, allocations: 10.05 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.004093, allocations: 0 / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.004114, allocations: 30.56 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.004116, allocations: 0.9062 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001503/0.004266, allocations: 53.77 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.004298, allocations: 52.09 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/0.004356, allocations: 110.7 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.004369, allocations: 31.48 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.004403, allocations: 88.09 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.004421, allocations: 7.891 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.00445, allocations: 29.62 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.004533, allocations: 314.8 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.004545, allocations: 0.5938 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.004558, allocations: 4.625 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.004583, allocations: 12.84 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004586, allocations: 1 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.15e-05/0.004637, allocations: 41.69 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.004649, allocations: 4.875 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004654, allocations: 0 / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.004666, allocations: 3.938 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.004747, allocations: 16.67 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.00475, allocations: 0.75 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.004772, allocations: 4 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.004778, allocations: 4.719 kB / 0.7633 GB, free: 3.191 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 6.231e-05/0.00484, allocations: 116 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.004854, allocations: 4 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.004886, allocations: 8 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.004889, allocations: 3.938 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004891, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004893, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.004984, allocations: 78.39 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004985, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.005019, allocations: 15.42 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.00502, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.005024, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005024, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005025, allocations: 4 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.005112, allocations: 139.4 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-06/0.005119, allocations: 7.953 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.005127, allocations: 0 / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.005164, allocations: 7.984 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.005193, allocations: 6.938 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.005198, allocations: 7.922 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.32e-05/0.005211, allocations: 16.84 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005211, allocations: 0 / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001134/0.005325, allocations: 8 kB / 0.7637 GB, free: 2.734 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 8.784e-05/0.005413, allocations: 72.42 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.005472, allocations: 26.88 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.005475, allocations: 0 / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.005493, allocations: 12.8 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.005639, allocations: 18.8 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.005863, allocations: 120.7 kB / 0.7639 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.005897, allocations: 63.28 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.005919, allocations: 0 / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.005967, allocations: 54.12 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.005968, allocations: 4 kB / 0.764 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.002603/0.008571, allocations: 0.733 MB / 0.7648 GB, free: 1.617 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 -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: 4.953854748979211]