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.001461/0.001461, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001626/0.001626, allocations: 169 kB / 24.28 MB, free: 280 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 0.948/0.948, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.767/1.767, allocations: 359 MB / 0.6055 GB, free: 11 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 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.277e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.005755/0.005777, allocations: 1.843 MB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.01042, allocations: 1.14 MB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.01053, allocations: 1.25 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.01112, allocations: 172.9 kB / 0.7902 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.01148, allocations: 164.4 kB / 0.7903 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.01182, allocations: 140.1 kB / 0.7905 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.01203, allocations: 176.9 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.01213, allocations: 21.28 kB / 0.7907 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.01226, allocations: 95.67 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.01237, allocations: 63.86 kB / 0.7908 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.01239, allocations: 9 kB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.01253, allocations: 71.88 kB / 0.7909 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.0126, allocations: 44.75 kB / 0.7909 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.01266, allocations: 39.84 kB / 0.791 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.01291, allocations: 151.4 kB / 0.7911 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01291, allocations: 1.062 kB / 0.7911 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01291, allocations: 0 / 0.7911 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.01291, allocations: 0 / 0.7911 GB, free: 8.684 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.003615/0.01653, allocations: 0.5343 MB / 0.7916 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01656, allocations: 8.031 kB / 0.7916 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.01663, allocations: 20.84 kB / 0.7917 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01689, allocations: 200.9 kB / 0.7918 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.01691, allocations: 5.656 kB / 0.7919 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.01692, allocations: 8.375 kB / 0.7919 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.01706, allocations: 58.17 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.01706, allocations: 3.938 kB / 0.7919 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.01707, allocations: 6.969 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.01709, allocations: 0 / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.01714, allocations: 15.98 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.01759, allocations: 343.6 kB / 0.7923 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.01772, allocations: 63.05 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.01776, allocations: 23.61 kB / 0.7924 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.01777, allocations: 0.7188 kB / 0.7924 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.01813, allocations: 74.69 kB / 0.7924 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.01813, allocations: 0 / 0.7924 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.000248/0.01838, allocations: 113.5 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.01841, allocations: 51.41 kB / 0.7926 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.01863, allocations: 282.8 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.01864, allocations: 33.7 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.01872, allocations: 170.8 kB / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.01875, allocations: 24.97 kB / 0.7931 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.0188, allocations: 31.38 kB / 0.7931 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.01893, allocations: 0.504 MB / 0.7936 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.01896, allocations: 13.75 kB / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.01902, allocations: 72.69 kB / 0.7937 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.01909, allocations: 55.23 kB / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01909, allocations: 0 / 0.7937 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.003141/0.02224, allocations: 98.66 kB / 0.7938 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.02225, allocations: 8 kB / 0.7938 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02225, allocations: 0.5625 kB / 0.7938 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.02227, allocations: 0 / 0.7938 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.02233, allocations: 13.55 kB / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.02234, allocations: 4 kB / 0.7938 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.02238, allocations: 7.938 kB / 0.7939 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.02239, allocations: 0 / 0.7939 GB, free: 5.641 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 8.535e-05/0.02248, allocations: 170.2 kB / 0.794 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.0225, allocations: 15.91 kB / 0.794 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.02265, allocations: 111.2 kB / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.02266, allocations: 4.906 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02267, allocations: 0 / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02267, allocations: 4.516 kB / 0.7941 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.02282, allocations: 184.5 kB / 0.7943 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02282, allocations: 0.6875 kB / 0.7943 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.02284, allocations: 4.531 kB / 0.7943 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.02284, allocations: 0 / 0.7943 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.02285, allocations: 9.297 kB / 0.7943 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.02285, allocations: 4 kB / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02285, allocations: 0 / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.02299, allocations: 144.7 kB / 0.7945 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.02301, allocations: 19.8 kB / 0.7945 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.02303, allocations: 9.375 kB / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.02306, allocations: 0 / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.0231, allocations: 7.984 kB / 0.7945 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.02311, allocations: 4.812 kB / 0.7945 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001234/0.02323, allocations: 200.5 kB / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02323, allocations: 0.9375 kB / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000227/0.02346, allocations: 28 kB / 0.7947 GB, free: 4.672 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.0008964/0.02436, allocations: 400.4 kB / 0.7951 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.02449, allocations: 55.59 kB / 0.7952 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02449, allocations: 0 / 0.7952 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.02453, allocations: 28.34 kB / 0.7952 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.02477, allocations: 50.38 kB / 0.7952 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.02819, allocations: 279.2 kB / 0.7955 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.02824, allocations: 75.83 kB / 0.7956 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.393e-05/0.0283, allocations: 24.19 kB / 0.7956 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.02833, allocations: 16.5 kB / 0.7956 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.02833, allocations: 0 / 0.7956 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.007661/0.036, allocations: 2.446 MB / 0.798 GB, free: 1.465 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: 5.1960341890808195]