Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001218/0.001218, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001024/0.001024, allocations: 173.7 kB / 23.28 MB, free: 1.223 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 0.929/0.929, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.487/2.487, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.233e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002485/0.002508, allocations: 1.835 MB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.00404, allocations: 1.134 MB / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004153, allocations: 0 / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.004801, allocations: 175.5 kB / 0.8928 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.00511, allocations: 159.3 kB / 0.893 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.00539, allocations: 147.4 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.005587, allocations: 179.5 kB / 0.8933 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005695, allocations: 13.3 kB / 0.8933 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.005826, allocations: 103.7 kB / 0.8934 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.005925, allocations: 63.86 kB / 0.8934 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005946, allocations: 8 kB / 0.8935 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.006072, allocations: 71.81 kB / 0.8935 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.006142, allocations: 47.84 kB / 0.8936 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.006185, allocations: 31.91 kB / 0.8936 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.006411, allocations: 163.3 kB / 0.8938 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006412, allocations: 0 / 0.8938 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.342e-06/0.006414, allocations: 4 kB / 0.8938 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.006417, allocations: 0 / 0.8938 GB, free: 5.633 MB / 0.8542 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.0005558/0.006973, allocations: 0.5129 MB / 0.8943 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.007019, allocations: 12.62 kB / 0.8943 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.007064, allocations: 24.8 kB / 0.8943 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.007263, allocations: 196.9 kB / 0.8945 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.007282, allocations: 8.375 kB / 0.8945 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.007291, allocations: 384 / 0.8945 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.007404, allocations: 70.16 kB / 0.8946 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.007412, allocations: 7.922 kB / 0.8946 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.007419, allocations: 4 kB / 0.8946 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.00744, allocations: 4 kB / 0.8946 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.007473, allocations: 15.92 kB / 0.8946 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.007826, allocations: 296.3 kB / 0.8949 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.007915, allocations: 55.16 kB / 0.8949 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.007943, allocations: 27.55 kB / 0.895 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.007963, allocations: 4 kB / 0.895 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.008063, allocations: 73.03 kB / 0.895 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.008065, allocations: 4 kB / 0.895 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0001979/0.008263, allocations: 97.52 kB / 0.8951 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.008293, allocations: 55.41 kB / 0.8952 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.00847, allocations: 274.4 kB / 0.8954 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.008487, allocations: 29.7 kB / 0.8955 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.008571, allocations: 170.8 kB / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.008601, allocations: 27.83 kB / 0.8957 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.008643, allocations: 39.34 kB / 0.8957 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003032/0.008947, allocations: 0.4962 MB / 0.8962 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.008967, allocations: 11.98 kB / 0.8962 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.009018, allocations: 72.69 kB / 0.8963 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.009068, allocations: 39.36 kB / 0.8963 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00907, allocations: 0 / 0.8963 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001023/0.009172, allocations: 93.94 kB / 0.8964 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.009188, allocations: 11.94 kB / 0.8964 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.009197, allocations: 0 / 0.8964 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.00921, allocations: 0 / 0.8964 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.009273, allocations: 15.92 kB / 0.8964 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.009281, allocations: 4 kB / 0.8964 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.009316, allocations: 15.95 kB / 0.8964 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.009321, allocations: 0 / 0.8964 GB, free: 2.664 MB / 0.8542 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 9.854e-05/0.00942, allocations: 168.6 kB / 0.8966 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.009441, allocations: 23.83 kB / 0.8966 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.009575, allocations: 87.14 kB / 0.8967 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.009585, allocations: 4 kB / 0.8967 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009587, allocations: 0 / 0.8967 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.009593, allocations: 3.984 kB / 0.8967 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.009719, allocations: 145.2 kB / 0.8968 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009721, allocations: 4 kB / 0.8968 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.009739, allocations: 7.938 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.009743, allocations: 3.938 kB / 0.8969 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.009751, allocations: 11.97 kB / 0.8969 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009754, allocations: 4 kB / 0.8969 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.009755, allocations: 0 / 0.8969 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.009868, allocations: 132.4 kB / 0.897 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.009886, allocations: 15.84 kB / 0.897 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.009906, allocations: 11.94 kB / 0.897 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.009929, allocations: 0 / 0.897 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.00996, allocations: 7.984 kB / 0.897 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.009967, allocations: 8 kB / 0.897 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.097e-05/0.01006, allocations: 192.5 kB / 0.8972 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01006, allocations: 4 kB / 0.8972 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001539/0.01021, allocations: 23.94 kB / 0.8973 GB, free: 1.75 MB / 0.8542 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.0009183/0.01113, allocations: 405.2 kB / 0.8976 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01125, allocations: 43.66 kB / 0.8977 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01125, allocations: 7.938 kB / 0.8977 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.01129, allocations: 35.55 kB / 0.8977 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.01149, allocations: 46 kB / 0.8978 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.01186, allocations: 274.6 kB / 0.898 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.742e-05/0.01191, allocations: 79.89 kB / 0.8981 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.01195, allocations: 17.47 kB / 0.8981 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.01204, allocations: 98.19 kB / 0.8982 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01204, allocations: 0 / 0.8982 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of Templates: time 0.004729/0.01677, allocations: 2.66 MB / 0.9008 GB, free: 14.23 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.873361765407026]