Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00118/0.00118, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009533/0.0009533, allocations: 161 kB / 23.81 MB, free: 0.7578 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.9083/0.9083, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.735/1.735, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.599e-05, allocations: 6.406 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002551/0.002577, allocations: 1.841 MB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.004, allocations: 1.153 MB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004107, allocations: 3.938 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.004683, allocations: 168.3 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.00502, allocations: 156.6 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.005368, allocations: 145 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.005596, allocations: 179.5 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.00569, allocations: 18.53 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.005811, allocations: 95.78 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.005909, allocations: 67.8 kB / 0.7908 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.00593, allocations: 13.53 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.006074, allocations: 67.88 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.006145, allocations: 43.84 kB / 0.7909 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.006199, allocations: 35.86 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.006431, allocations: 156.4 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006434, allocations: 0 / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006435, allocations: 4 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.00644, allocations: 3.219 kB / 0.7911 GB, free: 8.387 MB / 0.7448 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.0005673/0.007007, allocations: 0.5206 MB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.007046, allocations: 12.03 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.007105, allocations: 24.83 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.00732, allocations: 196.9 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.007341, allocations: 8.375 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.007353, allocations: 8.359 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.007483, allocations: 58.22 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.007492, allocations: 4.656 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.007501, allocations: 1.656 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.007525, allocations: 0 / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.007566, allocations: 19.98 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.007965, allocations: 335.6 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.00809, allocations: 64.25 kB / 0.7923 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.00812, allocations: 15.69 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.008133, allocations: 8.875 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.008244, allocations: 77.14 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.008246, allocations: 5.562 kB / 0.7924 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002104/0.008456, allocations: 109.8 kB / 0.7925 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.008486, allocations: 51.41 kB / 0.7926 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.00866, allocations: 285.7 kB / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.008676, allocations: 31.05 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.008748, allocations: 170.9 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.008772, allocations: 19.86 kB / 0.7931 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.008811, allocations: 35.36 kB / 0.7931 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008928, allocations: 0.5007 MB / 0.7936 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.008959, allocations: 13.39 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.009011, allocations: 68.75 kB / 0.7937 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.009069, allocations: 59.28 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009072, allocations: 0.5312 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001145/0.009186, allocations: 99.16 kB / 0.7938 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.009198, allocations: 4 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.009204, allocations: 0 / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009216, allocations: 0 / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.00928, allocations: 12.91 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.009285, allocations: 0 / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.009321, allocations: 12.41 kB / 0.7939 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.009328, allocations: 3.984 kB / 0.7939 GB, free: 5.355 MB / 0.7448 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 8.271e-05/0.009411, allocations: 174.2 kB / 0.794 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.00943, allocations: 15.91 kB / 0.794 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.009575, allocations: 111.2 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.009584, allocations: 0.5312 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.009587, allocations: 0.5312 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.00959, allocations: 1.375 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.009723, allocations: 180.5 kB / 0.7943 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.009726, allocations: 4 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.009748, allocations: 7.938 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009751, allocations: 4.797 kB / 0.7943 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.00976, allocations: 4 kB / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009761, allocations: 0.9375 kB / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009762, allocations: 0 / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.00989, allocations: 140.2 kB / 0.7945 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.009913, allocations: 29.12 kB / 0.7945 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.009931, allocations: 4 kB / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.009957, allocations: 0 / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.00999, allocations: 12.83 kB / 0.7945 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.009999, allocations: 4 kB / 0.7945 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001069/0.01011, allocations: 202.8 kB / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01011, allocations: 0 / 0.7947 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001696/0.01028, allocations: 28 kB / 0.7948 GB, free: 4.387 MB / 0.7448 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.0008661/0.01114, allocations: 408.7 kB / 0.7951 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01128, allocations: 45.83 kB / 0.7952 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01128, allocations: 0 / 0.7952 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.01132, allocations: 39.61 kB / 0.7952 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01153, allocations: 49.56 kB / 0.7953 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.01192, allocations: 269.8 kB / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.01196, allocations: 75.83 kB / 0.7956 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.999e-05/0.01201, allocations: 25.77 kB / 0.7956 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.01205, allocations: 16.5 kB / 0.7956 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01205, allocations: 0 / 0.7956 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of Templates: time 0.00482/0.01687, allocations: 2.615 MB / 0.7982 GB, free: 1.008 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.955969886854291]