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.001411/0.001411, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001599/0.001599, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.491/1.491, 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.712/2.712, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.853e-06/1.853e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.51e-05, allocations: 3.938 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003429/0.003454, allocations: 1.791 MB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.005679, allocations: 1.121 MB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.005758, allocations: 1.219 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.006439, allocations: 176.8 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.006868, allocations: 155.9 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.007252, allocations: 142.5 kB / 0.7897 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.007519, allocations: 179.5 kB / 0.7899 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.007609, allocations: 17.3 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.00779, allocations: 91.78 kB / 0.79 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.007918, allocations: 67.8 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.007944, allocations: 8.688 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.00811, allocations: 75.81 kB / 0.7901 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.008195, allocations: 44.91 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.008269, allocations: 39.84 kB / 0.7902 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.00861, allocations: 211.2 kB / 0.7904 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.008612, allocations: 1.531 kB / 0.7904 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.008613, allocations: 0 / 0.7904 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.008617, allocations: 0 / 0.7904 GB, free: 8.699 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.00076/0.009377, allocations: 432.5 kB / 0.7908 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.00941, allocations: 8.031 kB / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.00948, allocations: 16.84 kB / 0.7908 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.009814, allocations: 197.4 kB / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.009827, allocations: 6.062 kB / 0.791 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.009846, allocations: 8.375 kB / 0.791 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.01005, allocations: 78.16 kB / 0.7911 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01006, allocations: 3.938 kB / 0.7911 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01007, allocations: 0 / 0.7911 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.01008, allocations: 6.5 kB / 0.7911 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.0102, allocations: 35.98 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.01074, allocations: 288.4 kB / 0.7914 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.01097, allocations: 82.59 kB / 0.7915 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.01105, allocations: 29.48 kB / 0.7915 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.01107, allocations: 3.984 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.01126, allocations: 84.98 kB / 0.7916 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.01127, allocations: 0 / 0.7916 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005136/0.01178, allocations: 149.6 kB / 0.7918 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.01183, allocations: 61.09 kB / 0.7918 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.0122, allocations: 275.2 kB / 0.7921 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.01223, allocations: 29.7 kB / 0.7921 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01234, allocations: 116.1 kB / 0.7922 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.01237, allocations: 23.8 kB / 0.7922 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.01244, allocations: 34.31 kB / 0.7923 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.01264, allocations: 326.8 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.01272, allocations: 32.89 kB / 0.7926 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01284, allocations: 76.25 kB / 0.7927 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01301, allocations: 87.89 kB / 0.7928 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01301, allocations: 0 / 0.7928 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002548/0.01327, allocations: 125.5 kB / 0.7929 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01328, allocations: 7.719 kB / 0.7929 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01329, allocations: 0 / 0.7929 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01331, allocations: 3.984 kB / 0.7929 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.0134, allocations: 12 kB / 0.7929 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0134, allocations: 160 / 0.7929 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.01347, allocations: 8.484 kB / 0.7929 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01348, allocations: 4 kB / 0.7929 GB, free: 5.914 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.0001677/0.01365, allocations: 150.9 kB / 0.7931 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.01369, allocations: 19.91 kB / 0.7931 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.014, allocations: 132.6 kB / 0.7932 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.01401, allocations: 4 kB / 0.7932 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01402, allocations: 0 / 0.7932 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01402, allocations: 3.984 kB / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01426, allocations: 173.6 kB / 0.7934 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01426, allocations: 1.312 kB / 0.7934 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.0143, allocations: 7.984 kB / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.0143, allocations: 0 / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01431, allocations: 0 / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01431, allocations: 5.094 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01431, allocations: 4 kB / 0.7934 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.01462, allocations: 154.3 kB / 0.7936 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.01466, allocations: 19.89 kB / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01469, allocations: 0 / 0.7936 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.01475, allocations: 7.984 kB / 0.7936 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.01479, allocations: 4.906 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.0148, allocations: 7.984 kB / 0.7936 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002486/0.01505, allocations: 209.4 kB / 0.7938 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01505, allocations: 0 / 0.7938 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002655/0.01532, allocations: 35.88 kB / 0.7938 GB, free: 4.938 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.002053/0.01737, allocations: 449.7 kB / 0.7943 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.01762, allocations: 71.97 kB / 0.7943 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01762, allocations: 0 / 0.7943 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.01772, allocations: 38.48 kB / 0.7944 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.01805, allocations: 45.67 kB / 0.7944 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.01871, allocations: 325 kB / 0.7947 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.01885, allocations: 123.6 kB / 0.7948 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.01893, allocations: 22.91 kB / 0.7949 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.01898, allocations: 17.59 kB / 0.7949 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01898, allocations: 0 / 0.7949 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of Templates: time 0.006766/0.02574, allocations: 2.431 MB / 0.7972 GB, free: 1.641 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] 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.566174992942251]