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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 190 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",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.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003069/0.003069, allocations: 67.89 kB / 1.11 GB, free: 6.277 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8349, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00371/0.8386, allocations: 1.809 MB / 1.276 GB, free: 2.391 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001992/0.8406, allocations: 1.058 MB / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.8406, allocations: 3.938 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.8413, allocations: 163.5 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.8416, allocations: 123.6 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.8421, allocations: 165 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002461/0.8423, allocations: 171.5 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.8424, allocations: 13.31 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.8425, allocations: 75.75 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.8427, allocations: 75.67 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.8427, allocations: 8 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.8429, allocations: 67.94 kB / 1.278 GB, free: 492 kB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.843, allocations: 43.84 kB / 1.278 GB, free: 448 kB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.843, allocations: 63.55 kB / 1.278 GB, free: 384 kB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.8434, allocations: 209.6 kB / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8434, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.203e-06/0.8434, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.4e-06/0.8434, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 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.0007909/0.8442, allocations: 426.9 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.8442, allocations: 8.031 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.8443, allocations: 16.84 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.8446, allocations: 191.1 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8446, allocations: 384 / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.8446, allocations: 16.12 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.8448, allocations: 87.31 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8448, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.8448, allocations: 4 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.8449, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.845, allocations: 39.97 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.8455, allocations: 331.7 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.8457, allocations: 70.61 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.8458, allocations: 28.84 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.8458, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.846, allocations: 83.31 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=10): time 3.487e-06/0.846, allocations: 11.98 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=10): time 0.0003798/0.8464, allocations: 141.5 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.8464, allocations: 81.11 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.8468, allocations: 255.1 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.8468, allocations: 33.64 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.8469, allocations: 116.1 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.8469, allocations: 31.77 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.847, allocations: 33.66 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001762/0.8472, allocations: 338.8 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.8472, allocations: 27.98 kB / 1.281 GB, free: 13.65 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.539e-05/0.8473, allocations: 51.42 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.8475, allocations: 69.7 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8475, allocations: 3.938 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002289/0.8477, allocations: 117.5 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8477, allocations: 8.375 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8477, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8477, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.8478, allocations: 11.98 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8478, allocations: 7.938 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.8479, allocations: 15.89 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8479, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 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.0001576/0.8481, allocations: 145.9 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.8481, allocations: 15.89 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.8484, allocations: 127 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8484, allocations: 4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8484, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8484, allocations: 3.938 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.8486, allocations: 192.7 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8486, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.8486, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8486, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8486, allocations: 7.984 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8486, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8486, allocations: 3.938 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.8489, allocations: 148.8 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.8489, allocations: 15.84 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.849, allocations: 7.984 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.849, allocations: 8 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.849, allocations: 7.984 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8491, allocations: 3.938 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0002144/0.8493, allocations: 199 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.8493, allocations: 0 / 1.282 GB, free: 12.38 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002454/0.8495, allocations: 27.92 kB / 1.282 GB, free: 12.36 MB / 0.9825 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 (7):
 * Single equations (assignments): 4
 * 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.001579/0.8511, allocations: 424.4 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002204/0.8513, allocations: 67.97 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8513, allocations: 3.938 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.8514, allocations: 31.98 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.8517, allocations: 35.97 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.8523, allocations: 295 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.8527, allocations: 0.7318 MB / 1.283 GB, free: 10.88 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.133e-05/0.8527, allocations: 25.39 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.8528, allocations: 23.38 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.21e-07/0.8528, allocations: 0 / 1.283 GB, free: 10.83 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006285/0.8591, allocations: 2.348 MB / 1.286 GB, free: 8.512 MB / 0.9825 GB
"
[Timeout remaining time 299]
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=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.787948857992887]