Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.897/2.897, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.244e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003419/0.003452, allocations: 1.804 MB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.005714, allocations: 1.148 MB / 0.7893 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.005795, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.006447, allocations: 169.5 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.006861, allocations: 167.8 kB / 0.7896 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.007217, allocations: 133.2 kB / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.007477, allocations: 179.5 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.007569, allocations: 17.89 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.007751, allocations: 103.7 kB / 0.79 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.007882, allocations: 71.3 kB / 0.7901 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.007912, allocations: 8 kB / 0.7901 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.008071, allocations: 63.88 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.008158, allocations: 47.84 kB / 0.7902 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.008219, allocations: 27.92 kB / 0.7902 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.008567, allocations: 211.2 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.008572, allocations: 4 kB / 0.7904 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.008573, allocations: 4 kB / 0.7904 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.008578, allocations: 0 / 0.7904 GB, free: 8.668 MB / 0.7448 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.0008067/0.009384, allocations: 0.5287 MB / 0.7909 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.00942, allocations: 8.656 kB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.009491, allocations: 24.83 kB / 0.791 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.009827, allocations: 201.8 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.009845, allocations: 4.375 kB / 0.7912 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.00986, allocations: 4.375 kB / 0.7912 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.01001, allocations: 58.23 kB / 0.7912 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01003, allocations: 5.312 kB / 0.7912 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.01004, allocations: 4 kB / 0.7912 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.01006, allocations: 7.984 kB / 0.7912 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.01015, allocations: 29.52 kB / 0.7913 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.01075, allocations: 359.7 kB / 0.7916 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.01095, allocations: 79.03 kB / 0.7917 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.01102, allocations: 28.44 kB / 0.7917 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.01104, allocations: 0 / 0.7917 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.01122, allocations: 86.81 kB / 0.7918 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.01122, allocations: 0 / 0.7918 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003537/0.01158, allocations: 125.5 kB / 0.7919 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.01162, allocations: 51.41 kB / 0.792 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.01198, allocations: 321.8 kB / 0.7923 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.01201, allocations: 30.33 kB / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01215, allocations: 179.5 kB / 0.7925 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.01219, allocations: 27.78 kB / 0.7925 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.01226, allocations: 40.59 kB / 0.7925 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000309/0.01257, allocations: 0.5157 MB / 0.793 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.01262, allocations: 16 kB / 0.7931 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.01274, allocations: 81.22 kB / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01287, allocations: 68.59 kB / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01287, allocations: 7.938 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002135/0.01309, allocations: 101.5 kB / 0.7933 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.0131, allocations: 8.984 kB / 0.7933 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01311, allocations: 4 kB / 0.7933 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01313, allocations: 1.031 kB / 0.7933 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.0132, allocations: 11.94 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01321, allocations: 160 / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.01327, allocations: 16.75 kB / 0.7934 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01328, allocations: 4 kB / 0.7934 GB, free: 5.441 MB / 0.7448 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.01344, allocations: 177.6 kB / 0.7935 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.01348, allocations: 15.91 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.01373, allocations: 116.2 kB / 0.7937 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.01375, allocations: 4 kB / 0.7937 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01375, allocations: 0 / 0.7937 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01375, allocations: 0.8438 kB / 0.7937 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.014, allocations: 204.4 kB / 0.7938 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.014, allocations: 2.219 kB / 0.7939 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.01403, allocations: 4 kB / 0.7939 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01403, allocations: 4 kB / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.01404, allocations: 0 / 0.7939 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01404, allocations: 3.938 kB / 0.7939 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01404, allocations: 0 / 0.7939 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.01431, allocations: 163 kB / 0.794 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.01435, allocations: 15.86 kB / 0.794 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.01439, allocations: 4 kB / 0.794 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.01444, allocations: 4 kB / 0.794 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01449, allocations: 11.97 kB / 0.7941 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.0145, allocations: 0 / 0.7941 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000228/0.01472, allocations: 228.5 kB / 0.7943 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01472, allocations: 1.594 kB / 0.7943 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002388/0.01496, allocations: 31.94 kB / 0.7943 GB, free: 4.406 MB / 0.7448 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002963/0.01793, allocations: 455.7 kB / 0.7947 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.01815, allocations: 64.78 kB / 0.7948 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01815, allocations: 0 / 0.7948 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.01825, allocations: 48.64 kB / 0.7948 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.01858, allocations: 43.45 kB / 0.7949 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.01914, allocations: 279.7 kB / 0.7952 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.01928, allocations: 111.8 kB / 0.7953 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.01934, allocations: 23.22 kB / 0.7953 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.0194, allocations: 21.53 kB / 0.7953 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.0194, allocations: 0 / 0.7953 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.006678/0.02608, allocations: 2.446 MB / 0.7977 GB, free: 1.121 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.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: 7.909529365017079]