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.001017/0.001017, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001019/0.001019, allocations: 166 kB / 24.87 MB, free: 9.258 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.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.795/1.795, allocations: 359 MB / 0.6063 GB, free: 10.89 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.625e-06/2.625e-06, allocations: 4.75 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.428e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002438/0.002463, allocations: 1.834 MB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003849, allocations: 1.139 MB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.003946, allocations: 2.375 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.004528, allocations: 167.5 kB / 0.7914 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.004841, allocations: 165.1 kB / 0.7915 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.005162, allocations: 140 kB / 0.7917 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.005367, allocations: 175.5 kB / 0.7918 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.005454, allocations: 18.72 kB / 0.7919 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.005568, allocations: 103.7 kB / 0.792 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.00566, allocations: 63.86 kB / 0.792 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005678, allocations: 8 kB / 0.792 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.005802, allocations: 69.03 kB / 0.7921 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.005867, allocations: 51.83 kB / 0.7921 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.005908, allocations: 27.88 kB / 0.7922 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.006124, allocations: 160.8 kB / 0.7923 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006128, allocations: 4 kB / 0.7923 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006128, allocations: 0 / 0.7923 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.006132, allocations: 1.75 kB / 0.7923 GB, free: 8.109 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.0005078/0.00664, allocations: 0.5206 MB / 0.7928 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.006674, allocations: 8.031 kB / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.006724, allocations: 20.84 kB / 0.7929 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.00693, allocations: 202 kB / 0.793 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.006947, allocations: 8.375 kB / 0.7931 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.006957, allocations: 4.375 kB / 0.7931 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.007065, allocations: 50.77 kB / 0.7931 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007073, allocations: 5.875 kB / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.007081, allocations: 0 / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.007099, allocations: 4 kB / 0.7931 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.007131, allocations: 19.86 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.007472, allocations: 308.3 kB / 0.7934 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/0.007568, allocations: 57.7 kB / 0.7935 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.007598, allocations: 19.62 kB / 0.7935 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.00761, allocations: 3.984 kB / 0.7935 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.391e-05/0.007704, allocations: 69.03 kB / 0.7936 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.007705, allocations: 0 / 0.7936 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.000174/0.007879, allocations: 102.2 kB / 0.7937 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.007906, allocations: 51.41 kB / 0.7937 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.008069, allocations: 282.1 kB / 0.794 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.008083, allocations: 27.36 kB / 0.794 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.008162, allocations: 178.8 kB / 0.7942 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.008183, allocations: 15.86 kB / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.008223, allocations: 35.34 kB / 0.7942 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.008357, allocations: 0.5118 MB / 0.7947 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.008375, allocations: 4.531 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.008421, allocations: 69.22 kB / 0.7948 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.008469, allocations: 44.52 kB / 0.7948 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008471, allocations: 4.844 kB / 0.7949 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001083/0.008579, allocations: 97.41 kB / 0.7949 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.008592, allocations: 4.844 kB / 0.795 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.008598, allocations: 0 / 0.795 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.008606, allocations: 5.281 kB / 0.795 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.008664, allocations: 11.94 kB / 0.795 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.008666, allocations: 0 / 0.795 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.008701, allocations: 12.77 kB / 0.795 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.008708, allocations: 112 / 0.795 GB, free: 5.164 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.858e-05/0.008796, allocations: 173.7 kB / 0.7951 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.008817, allocations: 19.84 kB / 0.7952 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.008957, allocations: 104.5 kB / 0.7953 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.008968, allocations: 4 kB / 0.7953 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00897, allocations: 0 / 0.7953 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008973, allocations: 0 / 0.7953 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.009101, allocations: 150.7 kB / 0.7954 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009103, allocations: 0 / 0.7954 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.009125, allocations: 4 kB / 0.7954 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009128, allocations: 3.938 kB / 0.7954 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.009135, allocations: 10.8 kB / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009137, allocations: 0 / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009138, allocations: 0 / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.009257, allocations: 132.2 kB / 0.7956 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.009277, allocations: 23.8 kB / 0.7956 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.009298, allocations: 11.92 kB / 0.7956 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.009327, allocations: 4 kB / 0.7956 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.009356, allocations: 7.922 kB / 0.7956 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.009363, allocations: 4.5 kB / 0.7956 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.009452, allocations: 190.3 kB / 0.7958 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009452, allocations: 0 / 0.7958 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001734/0.009625, allocations: 31.98 kB / 0.7958 GB, free: 4.25 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.0008976/0.01052, allocations: 395.9 kB / 0.7962 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01064, allocations: 47.59 kB / 0.7962 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01064, allocations: 1.219 kB / 0.7962 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.01068, allocations: 31.67 kB / 0.7963 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01088, allocations: 46.42 kB / 0.7963 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.01126, allocations: 274.7 kB / 0.7966 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.0113, allocations: 71.83 kB / 0.7966 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.01135, allocations: 21.48 kB / 0.7967 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.01143, allocations: 106.1 kB / 0.7968 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of SimCode: time 9.61e-07/0.01143, allocations: 0 / 0.7968 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of Templates: time 0.004521/0.01595, allocations: 2.693 MB / 0.7994 GB, free: 0.7227 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.009362293872982]