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.0007754/0.0007754, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001791, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007363/0.0007363, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008862/0.001623, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.175, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.439/2.439, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2413/2.681, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.924e-06/1.924e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.818e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002887/0.002905, allocations: 1.893 MB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.004718, allocations: 1.165 MB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.004809, allocations: 7.938 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.005287, allocations: 159.4 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.005593, allocations: 159.4 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.005922, allocations: 143.5 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.006156, allocations: 175.5 kB / 0.8219 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.00625, allocations: 13.97 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.006443, allocations: 132.5 kB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.006562, allocations: 67.8 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.006583, allocations: 8 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.006737, allocations: 71.81 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.006803, allocations: 39.86 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.006851, allocations: 31.88 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.007089, allocations: 147.5 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.007103, allocations: 3.938 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.007104, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.007118, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 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.0005696/0.007688, allocations: 433 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.007719, allocations: 8.625 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.007757, allocations: 16.92 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.007986, allocations: 182.2 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.008001, allocations: 384 / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.008015, allocations: 20.06 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.008128, allocations: 52.48 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.008134, allocations: 0 / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.008143, allocations: 4 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.008165, allocations: 7.984 kB / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.0082, allocations: 8 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.008516, allocations: 213.7 kB / 0.8233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.008624, allocations: 89.28 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.008649, allocations: 12.86 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.008659, allocations: 4 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.008768, allocations: 74.12 kB / 0.8235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.008769, allocations: 0 / 0.8235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001492/0.008918, allocations: 69.67 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.008949, allocations: 55.41 kB / 0.8236 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.009126, allocations: 220.8 kB / 0.8238 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.009145, allocations: 25.7 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.009196, allocations: 100.6 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.009225, allocations: 35.7 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.009265, allocations: 25.7 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.009361, allocations: 338.7 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.009383, allocations: 10.94 kB / 0.8243 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.00943, allocations: 64.12 kB / 0.8244 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.009486, allocations: 39.36 kB / 0.8244 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.009489, allocations: 7.938 kB / 0.8244 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001018/0.009591, allocations: 72.5 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009604, allocations: 6.5 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.009609, allocations: 3.938 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.009617, allocations: 8.062 kB / 0.8245 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.009681, allocations: 11.98 kB / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009686, allocations: 4 kB / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.009729, allocations: 3.953 kB / 0.8245 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.009734, allocations: 4 kB / 0.8245 GB, free: 12.28 MB / 0.8073 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.593e-05/0.00982, allocations: 132.6 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.00984, allocations: 11.98 kB / 0.8247 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.009961, allocations: 79.23 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.009971, allocations: 0 / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.009972, allocations: 8 kB / 0.8248 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009975, allocations: 0 / 0.8248 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.0101, allocations: 109.8 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.0101, allocations: 3.938 kB / 0.8249 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.01013, allocations: 4 kB / 0.8249 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.01015, allocations: 15.84 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01015, allocations: 4 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.01016, allocations: 0 / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01016, allocations: 80 / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01016, allocations: 3.984 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.01026, allocations: 106.6 kB / 0.825 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.01028, allocations: 8 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.01031, allocations: 4 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.01034, allocations: 7.984 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.01035, allocations: 0 / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.559e-05/0.01044, allocations: 81 kB / 0.8251 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01044, allocations: 0 / 0.8251 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001984/0.01063, allocations: 35.88 kB / 0.8251 GB, free: 11.61 MB / 0.8073 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.001578/0.01221, allocations: 0.5732 MB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.01233, allocations: 48.72 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.01234, allocations: 8 kB / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.01238, allocations: 24.83 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01256, allocations: 51.73 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.01311, allocations: 273.6 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.01316, allocations: 79.69 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.01322, allocations: 25.84 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.01331, allocations: 79.3 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01331, allocations: 0 / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.004691/0.018, allocations: 2.674 MB / 0.8289 GB, free: 8.047 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.ref.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.314984941855073]