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.001614/0.001614, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001804/0.001804, allocations: 214.3 kB / 23.01 MB, free: 4.566 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.811/2.811, allocations: 476.7 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002128/0.002128, allocations: 68.86 kB / 1.119 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4073, allocations: 170 MB / 1.285 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003641/0.4109, allocations: 1.824 MB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.4131, allocations: 1.209 MB / 1.288 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.4132, allocations: 0 / 1.288 GB, free: 244 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.4139, allocations: 167.5 kB / 1.288 GB, free: 76 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.4143, allocations: 163.5 kB / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.4148, allocations: 139.6 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.415, allocations: 167.5 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4152, allocations: 21.3 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.4153, allocations: 67.7 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4154, allocations: 83.67 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.4155, allocations: 8 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.4156, allocations: 79.92 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.4157, allocations: 43.8 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.4158, allocations: 63.59 kB / 1.289 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.4161, allocations: 207.1 kB / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4161, allocations: 0 / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4161, allocations: 7.938 kB / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.4162, allocations: 0 / 1.289 GB, free: 15.04 MB / 0.9981 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.0008628/0.417, allocations: 437 kB / 1.289 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4171, allocations: 11.97 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.4171, allocations: 16.84 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.4174, allocations: 194.1 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4175, allocations: 4.375 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4175, allocations: 8.125 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.4177, allocations: 91.31 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4177, allocations: 7.922 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4177, allocations: 4 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.4177, allocations: 4 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4179, allocations: 39.97 kB / 1.29 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.4184, allocations: 315.8 kB / 1.29 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.4186, allocations: 70.61 kB / 1.29 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.4187, allocations: 32.84 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.4187, allocations: 7.938 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.4189, allocations: 79.38 kB / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.4189, allocations: 0 / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003688/0.4193, allocations: 153.4 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.4194, allocations: 77.11 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.4197, allocations: 275.1 kB / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4197, allocations: 29.7 kB / 1.291 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.4198, allocations: 120.1 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.4198, allocations: 19.8 kB / 1.291 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4199, allocations: 33.7 kB / 1.291 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4201, allocations: 334.8 kB / 1.291 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.4201, allocations: 27.98 kB / 1.291 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4203, allocations: 67.34 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4204, allocations: 73.64 kB / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4204, allocations: 0 / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002367/0.4206, allocations: 113.8 kB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4207, allocations: 8 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4207, allocations: 0 / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4207, allocations: 3.938 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.4208, allocations: 24.16 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4208, allocations: 3.938 kB / 1.291 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.4208, allocations: 7.938 kB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.4208, allocations: 0 / 1.291 GB, free: 12.18 MB / 0.9981 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.0001528/0.421, allocations: 146.3 kB / 1.291 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.421, allocations: 19.86 kB / 1.291 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.4213, allocations: 123 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4213, allocations: 11.98 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4213, allocations: 0 / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4213, allocations: 7.938 kB / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.4216, allocations: 192.6 kB / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4216, allocations: 0 / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.4216, allocations: 4 kB / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4216, allocations: 0 / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4216, allocations: 4 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4216, allocations: 3.984 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4216, allocations: 4.172 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.4219, allocations: 148.9 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.4219, allocations: 15.91 kB / 1.292 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4219, allocations: 7.969 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.422, allocations: 4 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.422, allocations: 7.984 kB / 1.292 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.422, allocations: 7.938 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002197/0.4223, allocations: 196.7 kB / 1.292 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4223, allocations: 3.938 kB / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002653/0.4225, allocations: 39.92 kB / 1.292 GB, free: 11.18 MB / 0.9981 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 (7): * Single equations (assignments): 4 * 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.00166/0.4242, allocations: 425 kB / 1.293 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.4244, allocations: 67.91 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4244, allocations: 4 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.4245, allocations: 27.98 kB / 1.293 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.4248, allocations: 42.5 kB / 1.293 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.4256, allocations: 344.4 kB / 1.293 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4261, allocations: 0.728 MB / 1.294 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.4261, allocations: 19.38 kB / 1.294 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.4261, allocations: 0 / 1.294 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of Templates: time 0.006522/0.4326, allocations: 2.625 MB / 1.296 GB, free: 7.012 MB / 0.9981 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=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.290360107988818]