Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.792/1.792, allocations: 291.7 MB / 306.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 177.5 kB / 375.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007912/0.0007914, allocations: 105.5 kB / 0.7699 GB, free: 50.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004612, allocations: 15.98 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7577, allocations: 118.1 MB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001002/0.7588, allocations: 337.2 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.7603, allocations: 1.087 MB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.7604, allocations: 2.438 kB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.664e-05/0.7605, allocations: 0 / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.795e-05/0.7605, allocations: 9.719 kB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.761, allocations: 103.2 kB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.7611, allocations: 74.62 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.7612, allocations: 6.344 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.7612, allocations: 30.86 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.7613, allocations: 29.52 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.7613, allocations: 4.375 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.7614, allocations: 15.31 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.7615, allocations: 15.5 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.7615, allocations: 31.52 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.7617, allocations: 66.44 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7617, allocations: 0 / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7617, allocations: 0 / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7617, allocations: 3.469 kB / 1.013 GB, free: 57.3 MB / 0.7136 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.0004292/0.7622, allocations: 362 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.7622, allocations: 9.375 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.7623, allocations: 8.031 kB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.7625, allocations: 183 kB / 1.013 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.7626, allocations: 9.531 kB / 1.013 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.7626, allocations: 7.188 kB / 1.013 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.7627, allocations: 47.59 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7628, allocations: 0.8906 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7628, allocations: 4.453 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7628, allocations: 0 / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.7629, allocations: 15.36 kB / 1.013 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.7633, allocations: 304.1 kB / 1.014 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.7634, allocations: 23.81 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.7634, allocations: 15.03 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.7634, allocations: 1.531 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.7636, allocations: 57.47 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.7636, allocations: 1.938 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002427/0.7639, allocations: 61.84 kB / 1.014 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.7639, allocations: 56.42 kB / 1.014 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.764, allocations: 109.1 kB / 1.014 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.7641, allocations: 28.77 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.7641, allocations: 91.44 kB / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.7642, allocations: 7.578 kB / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.7642, allocations: 0 / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.7643, allocations: 322.2 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.7643, allocations: 26.98 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.7644, allocations: 52.36 kB / 1.014 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.7645, allocations: 78.78 kB / 1.014 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7646, allocations: 0 / 1.014 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002324/0.7648, allocations: 148.6 kB / 1.015 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.7648, allocations: 43.67 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7649, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.7649, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.7649, allocations: 5.219 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7649, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.7652, allocations: 36.48 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.7652, allocations: 6.562 kB / 1.015 GB, free: 55.5 MB / 0.7136 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/0.7653, allocations: 122 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.7653, allocations: 7.609 kB / 1.015 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.7653, allocations: 7.281 kB / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7654, allocations: 4.125 kB / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7654, allocations: 0.75 kB / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7654, allocations: 0 / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.7655, allocations: 168.2 kB / 1.015 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7655, allocations: 3.938 kB / 1.015 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.7655, allocations: 1.5 kB / 1.015 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.7655, allocations: 4.688 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7655, allocations: 0.9375 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7655, allocations: 0 / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7656, allocations: 3.281 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.7657, allocations: 87.59 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.7657, allocations: 77.67 kB / 1.015 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7657, allocations: 3.094 kB / 1.015 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.7657, allocations: 1.594 kB / 1.015 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.7658, allocations: 3.891 kB / 1.015 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.7658, allocations: 3 kB / 1.015 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.7658, allocations: 90.69 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7658, allocations: 0 / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001918/0.766, allocations: 14.47 kB / 1.015 GB, free: 54.93 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.7662, allocations: 108.4 kB / 1.015 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.7664, allocations: 120.8 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7664, allocations: 1.656 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.7664, allocations: 19.97 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.7667, allocations: 4 kB / 1.016 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.767, allocations: 140.5 kB / 1.016 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.7671, allocations: 0.6805 MB / 1.016 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.7672, allocations: 6.625 kB / 1.016 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.7672, allocations: 14.09 kB / 1.016 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7672, allocations: 0 / 1.016 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.003159/0.7703, allocations: 0.9787 MB / 1.017 GB, free: 53.91 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)