Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.008/2.008, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.00149/0.00149, allocations: 175.5 kB / 393.1 MB, free: 4.098 MB / 314.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.633/1.633, allocations: 225.7 MB / 0.6743 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.56 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 15.98 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8014, allocations: 121.3 MB / 1.041 GB, free: 58.26 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0009388/0.8024, allocations: 357.7 kB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.8039, allocations: 1.252 MB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.8039, allocations: 1.375 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.8041, allocations: 0 / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.115e-05/0.8041, allocations: 6.594 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.8046, allocations: 109.3 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.8047, allocations: 86.53 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.8048, allocations: 3.297 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.8049, allocations: 36.41 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.8049, allocations: 20.52 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.805, allocations: 3.688 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.805, allocations: 20.89 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.8051, allocations: 10.89 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.8052, allocations: 53.88 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.8053, allocations: 85.88 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8054, allocations: 0 / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8054, allocations: 0 / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8054, allocations: 3.219 kB / 1.043 GB, free: 56.94 MB / 0.698 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.0003596/0.8057, allocations: 359.4 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8058, allocations: 9.562 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.8058, allocations: 10.16 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.806, allocations: 186 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.806, allocations: 6.812 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.8061, allocations: 9.469 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.8062, allocations: 45.56 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8062, allocations: 5.438 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8062, allocations: 3.938 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8062, allocations: 1.375 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.8063, allocations: 12.41 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.8066, allocations: 303.9 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.8067, allocations: 18.62 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.8067, allocations: 13.91 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.8067, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.8068, allocations: 61.39 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.8069, allocations: 1.625 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001733/0.807, allocations: 66.86 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.8071, allocations: 51.41 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.8071, allocations: 117.2 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.8072, allocations: 29.2 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.8072, allocations: 93.27 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.8072, allocations: 7.906 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.8072, allocations: 3 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.8073, allocations: 317.2 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.8074, allocations: 30.22 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.8074, allocations: 46.44 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.8075, allocations: 87.12 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8076, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002055/0.8078, allocations: 138.4 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.8078, allocations: 44.47 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8078, allocations: 0 / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8078, allocations: 1.938 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.8079, allocations: 2.531 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8079, allocations: 4.516 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.8081, allocations: 35.03 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.8081, allocations: 5.594 kB / 1.045 GB, free: 55 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.8082, allocations: 137.1 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.8082, allocations: 3.906 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.8083, allocations: 6.938 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8083, allocations: 0 / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8083, allocations: 4.094 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8083, allocations: 0 / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.8084, allocations: 173.8 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.8084, allocations: 0.9375 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.8084, allocations: 0.8438 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.8084, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.8084, allocations: 3.688 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8084, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8084, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.825e-05/0.8085, allocations: 88.2 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.8086, allocations: 79.52 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.8086, allocations: 0 / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.8086, allocations: 0 / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.8086, allocations: 3.031 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.8086, allocations: 7.953 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.8087, allocations: 85.61 kB / 1.045 GB, free: 54.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8087, allocations: 0 / 1.045 GB, free: 54.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001915/0.8089, allocations: 15 kB / 1.045 GB, free: 54.4 MB / 0.698 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.0001275/0.809, allocations: 111.8 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.8092, allocations: 123.4 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8092, allocations: 3.938 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.8092, allocations: 11.56 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.8094, allocations: 8.688 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.8097, allocations: 144.5 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.8098, allocations: 0.6794 MB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.8099, allocations: 2.406 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.8099, allocations: 11.12 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8099, allocations: 3.938 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of Templates: time 0.003359/0.8133, allocations: 1.01 MB / 1.048 GB, free: 53.27 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1)