Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009023/0.0009023, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.000974/0.000974, allocations: 173 kB / 23.02 MB, free: 1.539 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 0.9269/0.9269, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.121/2.121, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.248e-05, allocations: 4.531 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002473/0.002505, allocations: 1.855 MB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003869, allocations: 1.152 MB / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.003949, allocations: 0 / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.00451, allocations: 172.4 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.00479, allocations: 164.4 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.005053, allocations: 145.6 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.005235, allocations: 171.5 kB / 0.8817 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.005333, allocations: 17.3 kB / 0.8818 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.00544, allocations: 92.7 kB / 0.8818 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.005537, allocations: 71.78 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.005557, allocations: 9.656 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.005672, allocations: 71.88 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.005735, allocations: 39.86 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.005786, allocations: 39.91 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.006032, allocations: 159.3 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.006035, allocations: 0.5 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006036, allocations: 1.875 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.006041, allocations: 0 / 0.8822 GB, free: 2.152 MB / 0.8386 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.00053/0.006571, allocations: 0.5246 MB / 0.8827 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.006605, allocations: 8.031 kB / 0.8827 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.006666, allocations: 28.78 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.006903, allocations: 202.2 kB / 0.883 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.006921, allocations: 4.375 kB / 0.883 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.006941, allocations: 8.375 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.007069, allocations: 51.33 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.007081, allocations: 7.875 kB / 0.883 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.007092, allocations: 7.984 kB / 0.883 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.007105, allocations: 1.594 kB / 0.883 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/0.00715, allocations: 19.98 kB / 0.8831 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.00752, allocations: 327.7 kB / 0.8834 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.00763, allocations: 65.52 kB / 0.8834 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.007662, allocations: 19.67 kB / 0.8834 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.007675, allocations: 0 / 0.8834 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.667e-05/0.007772, allocations: 69.05 kB / 0.8835 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.007773, allocations: 0 / 0.8835 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.000209/0.007982, allocations: 123.5 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.008007, allocations: 55.39 kB / 0.8837 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.008184, allocations: 278.5 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008199, allocations: 33.7 kB / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.008286, allocations: 174.9 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.008309, allocations: 20.52 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.008346, allocations: 31.36 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.008471, allocations: 0.509 MB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.008495, allocations: 11.98 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.008548, allocations: 73.03 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.008603, allocations: 55.38 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008605, allocations: 112 / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001046/0.00871, allocations: 97.45 kB / 0.8849 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008722, allocations: 11.94 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008727, allocations: 0 / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.008743, allocations: 0 / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.008805, allocations: 11.98 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008811, allocations: 4 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.008848, allocations: 11.89 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008853, allocations: 4.031 kB / 0.885 GB, free: 15.11 MB / 0.8542 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.308e-05/0.008936, allocations: 172.5 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.008955, allocations: 15.91 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.009095, allocations: 99.08 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.009105, allocations: 7.984 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.009108, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009111, allocations: 0 / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.00924, allocations: 176.5 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009241, allocations: 0 / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.009261, allocations: 7.984 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009263, allocations: 4 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.009271, allocations: 4 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.009272, allocations: 0 / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.009272, allocations: 3.938 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.009393, allocations: 148.2 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.009412, allocations: 15.84 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.009432, allocations: 8 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.009466, allocations: 3.984 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.009501, allocations: 4 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.00951, allocations: 7.984 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000106/0.009616, allocations: 204.5 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009616, allocations: 0 / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001617/0.009778, allocations: 31.98 kB / 0.8858 GB, free: 14.14 MB / 0.8542 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.0008283/0.01061, allocations: 401.1 kB / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.01074, allocations: 59.53 kB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01074, allocations: 0 / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.01079, allocations: 35.61 kB / 0.8863 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01099, allocations: 43.48 kB / 0.8864 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.0114, allocations: 270.7 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.01144, allocations: 83.77 kB / 0.8867 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.01149, allocations: 25.53 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.01152, allocations: 20.48 kB / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/0.01152, allocations: 0 / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004282/0.01581, allocations: 2.442 MB / 0.8891 GB, free: 10.9 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.431140191853046]