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.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.807/1.807, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001438/0.001438, allocations: 175.5 kB / 393.1 MB, free: 4.062 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.768/1.768, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.00102/0.00102, allocations: 96.47 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005777/0.0005778, allocations: 12 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7269, allocations: 121.3 MB / 1.041 GB, free: 58.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001283/0.7283, allocations: 390.8 kB / 1.041 GB, free: 58.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.7293, allocations: 0.8197 MB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.7294, allocations: 0 / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.7295, allocations: 3.766 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.7296, allocations: 5.938 kB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.7298, allocations: 13.75 kB / 1.042 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.7299, allocations: 37.52 kB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.73, allocations: 8.562 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.7301, allocations: 17.31 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.7301, allocations: 5.594 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.7302, allocations: 2.031 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.7302, allocations: 1.375 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.7302, allocations: 14.83 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.7303, allocations: 44.14 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.103e-05/0.7304, allocations: 32.06 kB / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7304, allocations: 0 / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7304, allocations: 0.625 kB / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7304, allocations: 0 / 1.042 GB, free: 57.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004611/0.7309, allocations: 347.2 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.731, allocations: 9.625 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.731, allocations: 15.31 kB / 1.043 GB, free: 57.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.7312, allocations: 174 kB / 1.043 GB, free: 57.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.7312, allocations: 3.125 kB / 1.043 GB, free: 57.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.7312, allocations: 7.484 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.7314, allocations: 72.95 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7314, allocations: 192 / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7315, allocations: 7.938 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7315, allocations: 2.438 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.7317, allocations: 50.86 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.7321, allocations: 289.1 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.7322, allocations: 44.89 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.7323, allocations: 31.72 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.7324, allocations: 0.5938 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.7324, allocations: 37.69 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.7324, allocations: 0.625 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/0.7328, allocations: 104 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.7328, allocations: 53 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.7329, allocations: 102.6 kB / 1.044 GB, free: 56.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.7329, allocations: 29.7 kB / 1.044 GB, free: 56.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.7329, allocations: 90.09 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.733, allocations: 2 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.733, allocations: 0 / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.733, allocations: 320.2 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.7331, allocations: 24.17 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.7332, allocations: 24.55 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.7334, allocations: 56.25 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7334, allocations: 3.938 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000207/0.7337, allocations: 90.33 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7337, allocations: 9.609 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7337, allocations: 1.156 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.7337, allocations: 0 / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.7338, allocations: 12.58 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7338, allocations: 0 / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.7339, allocations: 14.64 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7339, allocations: 0.7969 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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.00012/0.734, allocations: 120.1 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.7341, allocations: 8.391 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.7341, allocations: 4.219 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7341, allocations: 0 / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7341, allocations: 1.188 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7341, allocations: 0 / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.7343, allocations: 170.4 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7343, allocations: 0 / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.7344, allocations: 18.88 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7344, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.7344, allocations: 1.312 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7344, allocations: 3.328 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7344, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.7346, allocations: 181 kB / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.7347, allocations: 83.89 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.7347, allocations: 0.7031 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.7348, allocations: 9.25 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.7348, allocations: 6.656 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.7348, allocations: 1.781 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.234e-05/0.7349, allocations: 88.16 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7349, allocations: 0 / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001918/0.7351, allocations: 7.562 kB / 1.045 GB, free: 55.51 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001122/0.7352, allocations: 103.3 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.7354, allocations: 65.83 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7354, allocations: 0 / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.7356, allocations: 24.83 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7358, allocations: 8.812 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.7361, allocations: 132.3 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.7363, allocations: 0.681 MB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.7363, allocations: 1.766 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.7364, allocations: 12.58 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.7364, allocations: 0 / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of Templates: time 0.002727/0.7391, allocations: 0.5134 MB / 1.046 GB, free: 54.5 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1)