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.00146/0.00146, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001039/0.001039, allocations: 161 kB / 23.81 MB, free: 0.7656 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 1.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.871/1.871, allocations: 359 MB / 0.6052 GB, free: 11.03 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.375e-06/2.375e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.539e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004153/0.004188, allocations: 1.837 MB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.006383, allocations: 1.148 MB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.006514, allocations: 3.938 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.007321, allocations: 173.2 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.007778, allocations: 160.7 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.008225, allocations: 140.7 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.00852, allocations: 187.4 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.008638, allocations: 12.2 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.008838, allocations: 99.78 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.008999, allocations: 67.8 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.009029, allocations: 8 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.009212, allocations: 67.81 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.009306, allocations: 51.83 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.009374, allocations: 27.88 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.009745, allocations: 168.7 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.00975, allocations: 0 / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.009752, allocations: 0 / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.009758, allocations: 0 / 0.7911 GB, free: 8.363 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.0007426/0.0105, allocations: 0.5174 MB / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.01054, allocations: 12.97 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.01062, allocations: 20.84 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.01095, allocations: 201.6 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.01097, allocations: 4.312 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.01099, allocations: 5.75 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.01115, allocations: 58.22 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01117, allocations: 3.938 kB / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.01118, allocations: 4 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.0112, allocations: 5.812 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.01127, allocations: 15.98 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.01184, allocations: 339.6 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.01201, allocations: 60.62 kB / 0.7923 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.01207, allocations: 31.61 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.01209, allocations: 0 / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.01226, allocations: 73.48 kB / 0.7924 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.01226, allocations: 1.875 kB / 0.7924 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003073/0.01256, allocations: 109.5 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.0126, allocations: 51.41 kB / 0.7926 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.01289, allocations: 289.7 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.0129, allocations: 25.7 kB / 0.7929 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01301, allocations: 173.3 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.01304, allocations: 23.84 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.0131, allocations: 39.36 kB / 0.7931 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.01327, allocations: 0.4962 MB / 0.7936 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.01331, allocations: 11.98 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.01339, allocations: 76.8 kB / 0.7937 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.01348, allocations: 55.78 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01348, allocations: 0.7188 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001818/0.01367, allocations: 94.02 kB / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01368, allocations: 5.594 kB / 0.7938 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01369, allocations: 3.984 kB / 0.7938 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.01371, allocations: 4 kB / 0.7938 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.0138, allocations: 8 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01381, allocations: 0.625 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.01387, allocations: 11.94 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01388, allocations: 4.688 kB / 0.7939 GB, free: 5.332 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 0.0001154/0.014, allocations: 173.1 kB / 0.794 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.01403, allocations: 16.75 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.01426, allocations: 103.3 kB / 0.7942 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.01427, allocations: 5.156 kB / 0.7942 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01428, allocations: 0 / 0.7942 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01428, allocations: 0 / 0.7942 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.01475, allocations: 189 kB / 0.7943 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01475, allocations: 0 / 0.7943 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.01479, allocations: 8.781 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01479, allocations: 0 / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.0148, allocations: 0.8438 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.0148, allocations: 3.938 kB / 0.7944 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01481, allocations: 1.781 kB / 0.7944 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.01501, allocations: 136.4 kB / 0.7945 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.01504, allocations: 23.8 kB / 0.7945 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.01507, allocations: 3.984 kB / 0.7945 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.01512, allocations: 8 kB / 0.7945 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.01517, allocations: 4.797 kB / 0.7945 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.01518, allocations: 4 kB / 0.7945 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000164/0.01534, allocations: 202.8 kB / 0.7947 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01534, allocations: 0 / 0.7947 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002814/0.01562, allocations: 23.98 kB / 0.7947 GB, free: 4.379 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.001382/0.01701, allocations: 419 kB / 0.7951 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.0172, allocations: 51.66 kB / 0.7952 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.0172, allocations: 0 / 0.7952 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.01727, allocations: 39.55 kB / 0.7952 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01752, allocations: 45.2 kB / 0.7953 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.01796, allocations: 272.1 kB / 0.7955 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.018, allocations: 75.83 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.01804, allocations: 19.84 kB / 0.7956 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.01809, allocations: 28.48 kB / 0.7956 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.01809, allocations: 0 / 0.7956 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.004687/0.02277, allocations: 2.435 MB / 0.798 GB, free: 1.152 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: 5.328155775088817]