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.001006/0.001006, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001038/0.001038, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.04e-05, allocations: 5.484 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003536/0.003566, allocations: 1.838 MB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.005508, allocations: 1.132 MB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.005629, allocations: 5.406 kB / 0.7905 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.006332, allocations: 168.5 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.006749, allocations: 168.8 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.007157, allocations: 141 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.007415, allocations: 175.5 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.007531, allocations: 21.28 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.007683, allocations: 96.27 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.007809, allocations: 68.97 kB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.007832, allocations: 8 kB / 0.7913 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.008006, allocations: 71.88 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.00809, allocations: 42.08 kB / 0.7914 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.008142, allocations: 39.8 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.008418, allocations: 151.5 kB / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.008422, allocations: 0 / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.008423, allocations: 0 / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.008427, allocations: 0 / 0.7916 GB, free: 8.066 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.000623/0.00905, allocations: 0.5342 MB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.009103, allocations: 8.031 kB / 0.7921 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.009165, allocations: 20.84 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.009428, allocations: 193 kB / 0.7923 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.009448, allocations: 4.375 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.009464, allocations: 13.02 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.009606, allocations: 50.17 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.009615, allocations: 4.938 kB / 0.7924 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.009626, allocations: 4 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.009649, allocations: 5.156 kB / 0.7924 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.009689, allocations: 11.98 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.01011, allocations: 308.2 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.01022, allocations: 56.47 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.01026, allocations: 27.61 kB / 0.7928 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.01027, allocations: 1.75 kB / 0.7928 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.0104, allocations: 76.97 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.0104, allocations: 0 / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002129/0.01061, allocations: 97.58 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.01065, allocations: 56.44 kB / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01087, allocations: 281.6 kB / 0.7933 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.01088, allocations: 25.7 kB / 0.7933 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.01104, allocations: 176.8 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.0111, allocations: 19.84 kB / 0.7935 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.01117, allocations: 35.34 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.0113, allocations: 0.5001 MB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.864e-05/0.01134, allocations: 11.98 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.01139, allocations: 67.34 kB / 0.7941 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.01145, allocations: 47.61 kB / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01145, allocations: 4 kB / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001251/0.01158, allocations: 93.42 kB / 0.7942 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01159, allocations: 4 kB / 0.7942 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.0116, allocations: 4.703 kB / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01161, allocations: 4 kB / 0.7942 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.01168, allocations: 8.531 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01168, allocations: 1.656 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.01172, allocations: 7.938 kB / 0.7942 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.01173, allocations: 0 / 0.7942 GB, free: 5.117 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 9.384e-05/0.01182, allocations: 173.4 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.01185, allocations: 23.83 kB / 0.7944 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.012, allocations: 104 kB / 0.7945 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.01201, allocations: 4 kB / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01201, allocations: 1.281 kB / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01201, allocations: 0 / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.01214, allocations: 141.2 kB / 0.7947 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01214, allocations: 0 / 0.7947 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.01216, allocations: 8.828 kB / 0.7947 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01217, allocations: 3.938 kB / 0.7947 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.01217, allocations: 5.031 kB / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01217, allocations: 0 / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01217, allocations: 0 / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.01229, allocations: 137.6 kB / 0.7948 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.01231, allocations: 27.78 kB / 0.7948 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01233, allocations: 3.938 kB / 0.7948 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.01236, allocations: 13.33 kB / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.01239, allocations: 0 / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01239, allocations: 7.984 kB / 0.7949 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9e-05/0.01248, allocations: 188.5 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01248, allocations: 3 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001591/0.01264, allocations: 31.98 kB / 0.7951 GB, free: 4.203 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.0008269/0.01347, allocations: 394.7 kB / 0.7954 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01357, allocations: 51.59 kB / 0.7955 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01357, allocations: 0 / 0.7955 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.01361, allocations: 33.81 kB / 0.7955 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.0138, allocations: 46.98 kB / 0.7956 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.01413, allocations: 278.5 kB / 0.7958 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01417, allocations: 71.83 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.009e-05/0.01421, allocations: 23.53 kB / 0.7959 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.01429, allocations: 94.19 kB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.01429, allocations: 1.125 kB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.004112/0.0184, allocations: 2.67 MB / 0.7986 GB, free: 0.707 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.902440555859357]