Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001227/0.001227, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009948/0.0009948, allocations: 161 kB / 24.17 MB, free: 332 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.9528/0.9528, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.383e-05, allocations: 2.938 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002906/0.00293, allocations: 1.85 MB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.004578, allocations: 1.236 MB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.004656, allocations: 0 / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.004925, allocations: 65.25 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.005188, allocations: 116.2 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.005541, allocations: 197 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.005704, allocations: 162.2 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.00579, allocations: 18.27 kB / 0.7636 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005901, allocations: 92.48 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.005993, allocations: 55.88 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.006009, allocations: 9.25 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.006136, allocations: 79.86 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.006195, allocations: 35.86 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.006233, allocations: 41.09 kB / 0.7639 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.006428, allocations: 171.4 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00643, allocations: 0 / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006431, allocations: 1.031 kB / 0.764 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.006434, allocations: 0 / 0.764 GB, free: 2.535 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003927/0.006827, allocations: 397.5 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.00686, allocations: 8.562 kB / 0.7644 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.006894, allocations: 18.14 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.007057, allocations: 170.1 kB / 0.7646 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.007073, allocations: 4.375 kB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.007085, allocations: 5.094 kB / 0.7646 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.007201, allocations: 73.75 kB / 0.7647 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.007209, allocations: 5.156 kB / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.007215, allocations: 0 / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.007229, allocations: 0 / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.00726, allocations: 20.42 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.007493, allocations: 190.6 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.007587, allocations: 104.9 kB / 0.765 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.007607, allocations: 18.58 kB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.007619, allocations: 3.938 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.45e-05/0.007704, allocations: 70.2 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.007705, allocations: 0 / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001225/0.007827, allocations: 71 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.00785, allocations: 55.34 kB / 0.7652 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.00797, allocations: 224.1 kB / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.007983, allocations: 26.42 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.00802, allocations: 108.5 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.008043, allocations: 29.03 kB / 0.7656 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.008074, allocations: 29.69 kB / 0.7656 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.008145, allocations: 326.8 kB / 0.7659 GB, free: 472 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.008161, allocations: 14.08 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.008196, allocations: 52.27 kB / 0.766 GB, free: 392 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.008243, allocations: 51.27 kB / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008244, allocations: 0 / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.996e-05/0.008314, allocations: 72.75 kB / 0.7661 GB, free: 252 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.008325, allocations: 8 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00833, allocations: 3.031 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.00834, allocations: 0 / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.0084, allocations: 15.92 kB / 0.7661 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.008404, allocations: 8.062 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.008434, allocations: 0 / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.00844, allocations: 4 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.243e-05/0.008502, allocations: 117.8 kB / 0.7662 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.008516, allocations: 19.92 kB / 0.7663 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.008622, allocations: 84.48 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.00863, allocations: 4 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.008632, allocations: 0 / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008635, allocations: 0.75 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.283e-05/0.008728, allocations: 101.8 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00873, allocations: 0.5312 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.008753, allocations: 8.641 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008754, allocations: 0 / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.00876, allocations: 5.344 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008763, allocations: 4 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008764, allocations: 3.984 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.594e-05/0.00884, allocations: 102.7 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.008857, allocations: 22.3 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008872, allocations: 3.938 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.008894, allocations: 4 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.008925, allocations: 11.92 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.008934, allocations: 7.984 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.008989, allocations: 77.02 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008989, allocations: 2.844 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000133/0.009122, allocations: 35.92 kB / 0.7667 GB, free: 15.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001099/0.01022, allocations: 0.5231 MB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.01032, allocations: 40.78 kB / 0.7673 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01033, allocations: 6.75 kB / 0.7673 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.01036, allocations: 28.77 kB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.0105, allocations: 38.12 kB / 0.7673 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.01082, allocations: 269.4 kB / 0.7676 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.01086, allocations: 71.83 kB / 0.7677 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.0109, allocations: 25.09 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.01098, allocations: 75.38 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.01098, allocations: 0 / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.004556/0.01554, allocations: 2.834 MB / 0.7705 GB, free: 12 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.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.135381269734353]