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.0016/0.0016, allocations: 104.4 kB / 19.71 MB, free: 2.125 MB / 14.72 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.001751/0.001751, allocations: 215.5 kB / 22.99 MB, free: 4.949 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.908/2.908, allocations: 476 MB / 0.7707 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 67.91 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4019, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004666/0.4066, allocations: 1.771 MB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.4092, allocations: 1.124 MB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.4094, allocations: 4 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008096/0.4102, allocations: 171.5 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.4107, allocations: 155.4 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.4112, allocations: 137.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.4116, allocations: 179.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.4117, allocations: 17.23 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.4119, allocations: 75.69 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.4121, allocations: 79.67 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.4121, allocations: 12 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.4123, allocations: 63.94 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.4124, allocations: 43.84 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.4125, allocations: 51.61 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.413, allocations: 211.1 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.413, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/0.413, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.413, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 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.001055/0.414, allocations: 436.9 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4141, allocations: 12.03 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.4142, allocations: 16.84 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.4146, allocations: 194.1 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4146, allocations: 8.375 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4146, allocations: 8.109 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4148, allocations: 69.67 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4148, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4149, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.4149, allocations: 4 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.415, allocations: 43.91 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.4156, allocations: 300.3 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4158, allocations: 70.61 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.4159, allocations: 32.84 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4159, allocations: 4 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.4161, allocations: 79.38 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.4161, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004193/0.4165, allocations: 149.8 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4166, allocations: 55.52 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.4169, allocations: 287 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.417, allocations: 25.7 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4171, allocations: 116.1 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4171, allocations: 31.77 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.4172, allocations: 29.72 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4174, allocations: 334.8 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.4174, allocations: 27.98 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4175, allocations: 80.2 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.4177, allocations: 73.72 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4177, allocations: 4 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002275/0.4179, allocations: 121.5 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4179, allocations: 8 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.418, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.418, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.4181, allocations: 11.94 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4181, allocations: 4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.4181, allocations: 3.984 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4181, allocations: 4 kB / 1.29 GB, free: 4.965 MB / 0.9825 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.0001505/0.4183, allocations: 149.8 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.4183, allocations: 19.84 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.4186, allocations: 139 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4186, allocations: 7.938 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4186, allocations: 0 / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4186, allocations: 0 / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4188, allocations: 173.1 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4188, allocations: 96 / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.4189, allocations: 11.94 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4189, allocations: 4 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.4189, allocations: 0 / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4189, allocations: 0 / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4189, allocations: 4 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.4192, allocations: 152.9 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.4192, allocations: 19.91 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4192, allocations: 0 / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.4193, allocations: 7.984 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.4193, allocations: 3.984 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.4193, allocations: 7.938 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002167/0.4195, allocations: 200.7 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4195, allocations: 7.938 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000252/0.4198, allocations: 35.92 kB / 1.291 GB, free: 3.973 MB / 0.9825 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.001786/0.4216, allocations: 441.4 kB / 1.292 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4219, allocations: 79.89 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4219, allocations: 3.938 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.4219, allocations: 35.98 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4223, allocations: 49.12 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.423, allocations: 344.4 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.4231, allocations: 114.6 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.4232, allocations: 23.36 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4232, allocations: 4 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of Templates: time 0.005897/0.4291, allocations: 2.664 MB / 1.295 GB, free: 384 kB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.478547153994441]