Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.634/1.634, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.0009386/0.0009388, allocations: 195.9 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.405/1.405, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008527/0.0008527, allocations: 102.7 kB / 0.7699 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004356, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7623, allocations: 118.1 MB / 1.011 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003252/0.7656, allocations: 1.477 MB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.7682, allocations: 0.9424 MB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.7684, allocations: 2.844 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.7693, allocations: 144 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.7697, allocations: 95.55 kB / 1.013 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.7704, allocations: 148.3 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.7707, allocations: 142.9 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.7708, allocations: 27.19 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.771, allocations: 54.38 kB / 1.014 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.7712, allocations: 67.84 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.7712, allocations: 2.594 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.7714, allocations: 45.06 kB / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.7715, allocations: 38.38 kB / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.7716, allocations: 53.48 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.7719, allocations: 153.5 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7719, allocations: 0 / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7719, allocations: 0 / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7719, allocations: 2.719 kB / 1.014 GB, free: 57.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008688/0.7728, allocations: 469.2 kB / 1.015 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.7729, allocations: 8.562 kB / 1.015 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.7729, allocations: 21.22 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.7733, allocations: 247.6 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.7734, allocations: 4.5 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.7734, allocations: 6.844 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.7737, allocations: 89.06 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7737, allocations: 1.969 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.7737, allocations: 3.938 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.7738, allocations: 7.031 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.7739, allocations: 37.33 kB / 1.015 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.7746, allocations: 353.1 kB / 1.015 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.7749, allocations: 79.92 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.775, allocations: 35.62 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.7751, allocations: 3.578 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.7753, allocations: 84.89 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.7753, allocations: 0 / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000482/0.7758, allocations: 146.1 kB / 1.016 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.7759, allocations: 79.2 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.7763, allocations: 256.6 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.7763, allocations: 27.27 kB / 1.016 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.7764, allocations: 119 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.7765, allocations: 19.33 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.7765, allocations: 4.484 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.7766, allocations: 334 kB / 1.017 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.7767, allocations: 27.28 kB / 1.017 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.7768, allocations: 58 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.777, allocations: 75.06 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.777, allocations: 0 / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002941/0.7773, allocations: 118.7 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7774, allocations: 5.812 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7774, allocations: 112 / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7774, allocations: 4.906 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.7775, allocations: 13.34 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7776, allocations: 4.406 kB / 1.017 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.7777, allocations: 16.3 kB / 1.017 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.7777, allocations: 6.562 kB / 1.017 GB, free: 55.14 MB / 0.7136 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.7779, allocations: 141.6 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.7779, allocations: 17.81 kB / 1.017 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.778, allocations: 18.5 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.778, allocations: 3.031 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.7781, allocations: 1.844 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.7781, allocations: 7.312 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.7784, allocations: 218.3 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7784, allocations: 3.281 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.7784, allocations: 5.938 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7785, allocations: 0.7188 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.7785, allocations: 1.859 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7785, allocations: 1.625 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7785, allocations: 0.875 kB / 1.017 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.7789, allocations: 149.5 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.779, allocations: 100.3 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.779, allocations: 3.969 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.7791, allocations: 4.25 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.7792, allocations: 11.25 kB / 1.017 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.7792, allocations: 7.484 kB / 1.017 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002752/0.7795, allocations: 197.9 kB / 1.018 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7795, allocations: 2.875 kB / 1.018 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004076/0.7799, allocations: 29.03 kB / 1.018 GB, free: 54.55 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: 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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 (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.001427/0.7814, allocations: 489.6 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.7817, allocations: 72.41 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7817, allocations: 3.312 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.7818, allocations: 43.64 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.7823, allocations: 36.84 kB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.783, allocations: 314.1 kB / 1.019 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.7832, allocations: 0.7272 MB / 1.019 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.7833, allocations: 25.59 kB / 1.019 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.7834, allocations: 18.84 kB / 1.019 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.7834, allocations: 0 / 1.019 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of Templates: time 0.007499/0.7909, allocations: 2.126 MB / 1.021 GB, free: 53.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)