Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.00161/0.00161, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002296/0.002296, allocations: 189.8 kB / 22.1 MB, free: 4.223 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.6/1.6, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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.038/3.038, allocations: 495.8 MB / 0.783 GB, free: 12.29 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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator")
translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.356/1.358, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001849/1.36, allocations: 0.6239 MB / 1.307 GB, free: 33.36 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001624/1.361, allocations: 1.123 MB / 1.308 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/1.361, allocations: 2.75 kB / 1.308 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001309/1.362, allocations: 3.938 kB / 1.308 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 3.111e-05/1.362, allocations: 7.922 kB / 1.308 GB, free: 32.52 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005845/1.362, allocations: 122.7 kB / 1.309 GB, free: 32.46 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001843/1.362, allocations: 87.95 kB / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/1.362, allocations: 10.44 kB / 1.309 GB, free: 32.42 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/1.362, allocations: 38.86 kB / 1.309 GB, free: 32.41 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/1.363, allocations: 35.39 kB / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.576e-05/1.363, allocations: 8.625 kB / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/1.363, allocations: 22.53 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 6.329e-05/1.363, allocations: 9.828 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 6.576e-05/1.363, allocations: 33.81 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.000182/1.363, allocations: 85.11 kB / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.363, allocations: 0 / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.793e-06/1.363, allocations: 0 / 1.309 GB, free: 32.34 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.534e-06/1.363, allocations: 3.938 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004484/1.363, allocations: 313.9 kB / 1.309 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.364, allocations: 9.031 kB / 1.309 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/1.364, allocations: 6.875 kB / 1.309 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.364, allocations: 122.9 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.364, allocations: 7.625 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/1.364, allocations: 6.156 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/1.364, allocations: 48.05 kB / 1.309 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/1.364, allocations: 192 / 1.309 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.364, allocations: 6.812 kB / 1.309 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.364, allocations: 4 kB / 1.309 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/1.364, allocations: 13.08 kB / 1.309 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/1.364, allocations: 277.1 kB / 1.31 GB, free: 31.57 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/1.364, allocations: 21.45 kB / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/1.364, allocations: 11.62 kB / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/1.364, allocations: 0 / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/1.364, allocations: 61.86 kB / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.364, allocations: 0 / 1.31 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of matching and sorting (n=3): time 0.0001833/1.365, allocations: 65.27 kB / 1.31 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.365, allocations: 54.38 kB / 1.31 GB, free: 31.37 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/1.365, allocations: 107.2 kB / 1.31 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.365, allocations: 28.3 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/1.365, allocations: 94.25 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/1.365, allocations: 7.062 kB / 1.31 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/1.365, allocations: 32.95 kB / 1.31 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 4.659e-05/1.365, allocations: 318.5 kB / 1.31 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/1.365, allocations: 30.17 kB / 1.31 GB, free: 30.79 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/1.365, allocations: 43.41 kB / 1.311 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/1.365, allocations: 88.16 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.365, allocations: 0 / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002128/1.365, allocations: 144.6 kB / 1.311 GB, free: 30.59 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.365, allocations: 45.38 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.365, allocations: 3.984 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.365, allocations: 3.062 kB / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.738e-05/1.365, allocations: 0 / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.365, allocations: 0 / 1.311 GB, free: 30.55 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/1.366, allocations: 30.5 kB / 1.311 GB, free: 30.54 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/1.366, allocations: 5.562 kB / 1.311 GB, free: 30.54 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 7.092e-05/1.366, allocations: 119.2 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.366, allocations: 5.922 kB / 1.311 GB, free: 30.42 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/1.366, allocations: 4 kB / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.366, allocations: 0 / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.366, allocations: 0 / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.366, allocations: 2.531 kB / 1.311 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.11e-05/1.366, allocations: 137.3 kB / 1.311 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.366, allocations: 10.81 kB / 1.311 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/1.366, allocations: 7.938 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.366, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/1.366, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.366, allocations: 2.906 kB / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.366, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/1.366, allocations: 85.11 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/1.366, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/1.366, allocations: 2.938 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/1.366, allocations: 4 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/1.366, allocations: 3.375 kB / 1.311 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/1.366, allocations: 6.875 kB / 1.311 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.77e-05/1.366, allocations: 84.06 kB / 1.311 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.366, allocations: 0 / 1.311 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002085/1.366, allocations: 14.72 kB / 1.311 GB, free: 30.07 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001303/1.366, allocations: 110.5 kB / 1.311 GB, free: 29.97 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001923/1.367, allocations: 116.5 kB / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.367, allocations: 0 / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 3.83e-05/1.367, allocations: 5.938 kB / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/1.367, allocations: 12.78 kB / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/1.367, allocations: 133.5 kB / 1.312 GB, free: 29.76 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/1.367, allocations: 0.6887 MB / 1.312 GB, free: 29.05 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 1.846e-05/1.367, allocations: 3.312 kB / 1.312 GB, free: 29.05 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/1.367, allocations: 11.44 kB / 1.312 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of SimCode: time 4.81e-07/1.367, allocations: 2.906 kB / 1.312 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of Templates: time 0.003822/1.371, allocations: 1.059 MB / 1.313 GB, free: 28.92 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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: 10.318367903120816]