Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001501/0.001501, allocations: 185 kB / 22.22 MB, free: 5.105 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.459/1.459, 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 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 496 MB / 0.7835 GB, free: 33.7 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.02 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3822, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004044/0.3862, allocations: 1.803 MB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002259/0.3885, allocations: 1.056 MB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3886, allocations: 3.938 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.3894, allocations: 167.6 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3898, allocations: 123.5 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.3903, allocations: 175 kB / 1.311 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3906, allocations: 159.6 kB / 1.311 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3907, allocations: 21.06 kB / 1.311 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3908, allocations: 71.69 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.391, allocations: 79.67 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.391, allocations: 12 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.3912, allocations: 67.94 kB / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.3913, allocations: 43.84 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3914, allocations: 59.61 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.3918, allocations: 203.1 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3918, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.684e-06/0.3918, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.316e-06/0.3919, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 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.000932/0.3928, allocations: 426.9 kB / 1.312 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3928, allocations: 12.03 kB / 1.312 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.3929, allocations: 16.84 kB / 1.312 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3932, allocations: 195 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3933, allocations: 8.375 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3933, allocations: 8.125 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3935, allocations: 87.31 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3935, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3935, allocations: 4 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.3935, allocations: 8 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3937, allocations: 35.91 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.3943, allocations: 319.8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3945, allocations: 74.55 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.3945, allocations: 32.84 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3946, allocations: 4 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.3948, allocations: 87.36 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3948, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10): time 0.0003822/0.3951, allocations: 141.5 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.3952, allocations: 77.11 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3955, allocations: 255.2 kB / 1.313 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3956, allocations: 33.7 kB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3956, allocations: 120.1 kB / 1.313 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.3957, allocations: 27.78 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.3957, allocations: 21.72 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001655/0.3959, allocations: 334.8 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.396, allocations: 28.09 kB / 1.313 GB, free: 11.27 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3961, allocations: 67.3 kB / 1.314 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3962, allocations: 69.73 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3962, allocations: 0 / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002371/0.3965, allocations: 125.8 kB / 1.314 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3965, allocations: 6.031 kB / 1.314 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3965, allocations: 0 / 1.314 GB, free: 10.99 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3965, allocations: 3.984 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.3966, allocations: 15.94 kB / 1.314 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3966, allocations: 4.031 kB / 1.314 GB, free: 10.96 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.3967, allocations: 15.83 kB / 1.314 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3967, allocations: 8 kB / 1.314 GB, free: 10.94 MB / 1.014 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.0001454/0.3968, allocations: 142.6 kB / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.3969, allocations: 15.91 kB / 1.314 GB, free: 10.78 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3971, allocations: 123 kB / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3971, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3971, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3972, allocations: 11.94 kB / 1.314 GB, free: 10.64 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3974, allocations: 188.7 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3974, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.3974, allocations: 4 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3974, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3974, allocations: 7.969 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3974, allocations: 4 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3974, allocations: 3.984 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3977, allocations: 148.8 kB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.3977, allocations: 19.89 kB / 1.314 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.3978, allocations: 4 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.3978, allocations: 0 / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3978, allocations: 7.984 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.3979, allocations: 11.94 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002207/0.3981, allocations: 196.3 kB / 1.315 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 1.315 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002619/0.3983, allocations: 35.92 kB / 1.315 GB, free: 9.957 MB / 1.014 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.001584/0.3999, allocations: 416.5 kB / 1.315 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002265/0.4001, allocations: 67.97 kB / 1.315 GB, free: 9.633 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4002, allocations: 4 kB / 1.315 GB, free: 9.629 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.4002, allocations: 31.92 kB / 1.315 GB, free: 9.598 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.4006, allocations: 47.81 kB / 1.315 GB, free: 9.555 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.4012, allocations: 305.9 kB / 1.315 GB, free: 9.234 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4015, allocations: 0.724 MB / 1.316 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.064e-05/0.4016, allocations: 21.72 kB / 1.316 GB, free: 8.457 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.4017, allocations: 15.44 kB / 1.316 GB, free: 8.445 MB / 1.014 GB
Notification: Performance of SimCode: time 3.8e-07/0.4017, allocations: 4 kB / 1.316 GB, free: 8.441 MB / 1.014 GB
Notification: Performance of Templates: time 0.006791/0.4084, allocations: 2.342 MB / 1.319 GB, free: 6.117 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.026623263955116]