Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001412/0.001412, 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.001588/0.001588, allocations: 161 kB / 24.16 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 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.999/1.999, allocations: 377.9 MB / 0.624 GB, free: 8.309 MB / 0.5886 GB " [Timeout remaining time 177] 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.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.418e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.006558/0.006582, allocations: 1.901 MB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.008501, allocations: 1.152 MB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.008611, allocations: 4.922 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.01282, allocations: 174.6 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.01323, allocations: 156.7 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.01363, allocations: 141.5 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.0139, allocations: 175.8 kB / 0.7637 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.014, allocations: 21.94 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.01417, allocations: 95.72 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.01428, allocations: 61.12 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.01431, allocations: 11.94 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.01448, allocations: 71.88 kB / 0.7639 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.01456, allocations: 49.08 kB / 0.764 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.01461, allocations: 35.88 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.01488, allocations: 159.4 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01489, allocations: 0.75 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01489, allocations: 0 / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.01489, allocations: 0.5312 kB / 0.7641 GB, free: 2.383 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005177/0.01541, allocations: 402.2 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.01545, allocations: 12.03 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.01549, allocations: 14.11 kB / 0.7646 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.01878, allocations: 186.8 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.0188, allocations: 4.375 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.01881, allocations: 7.625 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.01895, allocations: 53.06 kB / 0.7648 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.01896, allocations: 3.938 kB / 0.7648 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.01897, allocations: 4 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.01899, allocations: 3.984 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.01903, allocations: 12 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.01938, allocations: 205.7 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.01949, allocations: 96.27 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.01952, allocations: 16.86 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.01953, allocations: 3.938 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.01965, allocations: 74.12 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.01966, allocations: 0 / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001638/0.01982, allocations: 77.61 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.01985, allocations: 51.41 kB / 0.7653 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.02004, allocations: 221.6 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.02005, allocations: 29.7 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.02011, allocations: 100.6 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.02013, allocations: 23.83 kB / 0.7657 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.02018, allocations: 26.45 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.02028, allocations: 330.8 kB / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.02031, allocations: 11.58 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.02036, allocations: 64.94 kB / 0.7661 GB, free: 224 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.02042, allocations: 47.95 kB / 0.7661 GB, free: 168 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02042, allocations: 0 / 0.7661 GB, free: 168 kB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001159/0.02054, allocations: 73.31 kB / 0.7662 GB, free: 88 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02056, allocations: 8 kB / 0.7662 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.02056, allocations: 2.625 kB / 0.7662 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.02058, allocations: 0 / 0.7662 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.02065, allocations: 11.98 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.02065, allocations: 4 kB / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.0207, allocations: 19.88 kB / 0.7662 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.02071, allocations: 0 / 0.7662 GB, free: 44 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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 0.0001062/0.02082, allocations: 123.8 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.02084, allocations: 12.05 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.02098, allocations: 87 kB / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.02099, allocations: 4 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.02099, allocations: 0 / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02099, allocations: 0 / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.02112, allocations: 105.8 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02113, allocations: 0 / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.02115, allocations: 5.719 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02116, allocations: 0 / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.02117, allocations: 7.938 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.02117, allocations: 0 / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02117, allocations: 0 / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.02129, allocations: 108.1 kB / 0.7667 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.02131, allocations: 19.8 kB / 0.7667 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.02134, allocations: 7.938 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.02138, allocations: 1.281 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.02141, allocations: 11.98 kB / 0.7667 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.02142, allocations: 0 / 0.7667 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003128/0.02455, allocations: 84.94 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02455, allocations: 0.6562 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002383/0.02478, allocations: 28.56 kB / 0.7668 GB, free: 15.39 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.001528/0.02631, allocations: 0.5168 MB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.02644, allocations: 44.75 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.02645, allocations: 4 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.02649, allocations: 24.84 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.02669, allocations: 37.39 kB / 0.7674 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.02715, allocations: 282.4 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.0272, allocations: 79.83 kB / 0.7678 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.158e-05/0.02726, allocations: 17.52 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.02736, allocations: 71.36 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.02736, allocations: 4 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.01516/0.04252, allocations: 2.656 MB / 0.7705 GB, free: 12.03 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.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.331700426992029]