Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001636/0.001636, 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.001785/0.001785, allocations: 184.3 kB / 22.22 MB, free: 5.164 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.1/3.1, allocations: 495.7 MB / 0.7831 GB, free: 33.59 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 72.14 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 173.6 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003372/0.3354, allocations: 1.814 MB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001873/0.3373, allocations: 1.052 MB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.3374, allocations: 3.938 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.3381, allocations: 167.5 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.3384, allocations: 115.6 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3388, allocations: 178.3 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3391, allocations: 163.5 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3392, allocations: 17.05 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3393, allocations: 79.7 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3394, allocations: 71.73 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3394, allocations: 4 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3396, allocations: 83.86 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.3397, allocations: 43.84 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.3398, allocations: 59.61 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3401, allocations: 199.1 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3401, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.3401, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.28e-06/0.3401, allocations: 0 / 1.311 GB, free: 13.89 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.000774/0.3409, allocations: 430.9 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3409, allocations: 8.031 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.341, allocations: 16.84 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3413, allocations: 199 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3413, allocations: 384 / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3413, allocations: 12.11 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3415, allocations: 83.39 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3415, allocations: 4 kB / 1.312 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3416, allocations: 7.984 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.3416, allocations: 0 / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3417, allocations: 39.92 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.3422, allocations: 319.8 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3424, allocations: 70.67 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3425, allocations: 36.78 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3425, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.3427, allocations: 83.38 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3427, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10): time 0.0003812/0.3431, allocations: 145.4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3432, allocations: 85.11 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.3435, allocations: 251.2 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3435, allocations: 29.7 kB / 1.313 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.3436, allocations: 120.1 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3436, allocations: 27.89 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3437, allocations: 37.64 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000156/0.3438, allocations: 326.8 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.3439, allocations: 31.98 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.344, allocations: 59.36 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.3441, allocations: 73.69 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3441, allocations: 0 / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002228/0.3443, allocations: 113.5 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3444, allocations: 8 kB / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3444, allocations: 0 / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3444, allocations: 4.062 kB / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.3445, allocations: 8 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3445, allocations: 7.938 kB / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.3445, allocations: 19.83 kB / 1.313 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3445, allocations: 8.359 kB / 1.313 GB, free: 11.05 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.3447, allocations: 138.6 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3447, allocations: 11.91 kB / 1.314 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.345, allocations: 130.9 kB / 1.314 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.345, allocations: 8 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.345, allocations: 0 / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.345, allocations: 3.938 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3452, allocations: 192.7 kB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3452, allocations: 0 / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.3453, allocations: 7.984 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3453, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3453, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3453, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3453, allocations: 0 / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3455, allocations: 156.8 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3456, allocations: 15.89 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3456, allocations: 3.938 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.3456, allocations: 8 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3457, allocations: 7.984 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3457, allocations: 7.922 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002006/0.3459, allocations: 196.4 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.3459, allocations: 4 kB / 1.314 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002475/0.3461, allocations: 31.92 kB / 1.314 GB, free: 10.07 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.001602/0.3477, allocations: 429.2 kB / 1.315 GB, free: 9.805 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002259/0.348, allocations: 63.92 kB / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.348, allocations: 0 / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.3481, allocations: 35.92 kB / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3484, allocations: 48.83 kB / 1.315 GB, free: 9.668 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.3489, allocations: 302 kB / 1.315 GB, free: 9.352 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3493, allocations: 0.724 MB / 1.316 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.894e-05/0.3493, allocations: 25.72 kB / 1.316 GB, free: 8.574 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3494, allocations: 23.42 kB / 1.316 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of SimCode: time 4.5e-07/0.3494, allocations: 3.938 kB / 1.316 GB, free: 8.547 MB / 1.014 GB
Notification: Performance of Templates: time 0.006431/0.3558, allocations: 2.336 MB / 1.318 GB, free: 6.223 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.823003952391446]