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.00192/0.00192, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002387/0.002387, allocations: 162.1 kB / 22.45 MB, free: 5.371 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.815/2.815, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.87e-05, allocations: 6.219 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003623/0.003651, allocations: 1.783 MB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.005875, allocations: 1.123 MB / 0.9538 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.005982, allocations: 0 / 0.9538 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.006678, allocations: 167.4 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.007179, allocations: 167.2 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.007621, allocations: 140.6 kB / 0.9543 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.007917, allocations: 179.5 kB / 0.9544 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.008049, allocations: 13.31 kB / 0.9545 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.008247, allocations: 103.7 kB / 0.9546 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.0084, allocations: 63.86 kB / 0.9546 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.008431, allocations: 8 kB / 0.9546 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.008608, allocations: 71.88 kB / 0.9547 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.008696, allocations: 47.84 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.008783, allocations: 39.84 kB / 0.9548 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009122, allocations: 203.3 kB / 0.955 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.009128, allocations: 7.938 kB / 0.955 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.009129, allocations: 3.938 kB / 0.955 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.009134, allocations: 0 / 0.955 GB, free: 7.422 MB / 0.8575 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.0007967/0.009931, allocations: 426.9 kB / 0.9554 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.009966, allocations: 12.03 kB / 0.9554 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.01003, allocations: 20.8 kB / 0.9554 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.01037, allocations: 193.4 kB / 0.9556 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.01038, allocations: 384 / 0.9556 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.0104, allocations: 4.375 kB / 0.9556 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.01059, allocations: 78.16 kB / 0.9557 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.0106, allocations: 3.938 kB / 0.9557 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.01062, allocations: 4 kB / 0.9557 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.01063, allocations: 4 kB / 0.9557 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.01074, allocations: 31.98 kB / 0.9557 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.01127, allocations: 292.4 kB / 0.956 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.01149, allocations: 82.59 kB / 0.9561 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.01157, allocations: 32.84 kB / 0.9561 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.01158, allocations: 0 / 0.9561 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01176, allocations: 83.33 kB / 0.9562 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/0.01176, allocations: 0 / 0.9562 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003881/0.01215, allocations: 149.5 kB / 0.9563 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.0122, allocations: 55.34 kB / 0.9564 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.01252, allocations: 279.2 kB / 0.9567 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.01254, allocations: 33.7 kB / 0.9567 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.01264, allocations: 124.1 kB / 0.9568 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.01267, allocations: 27.78 kB / 0.9568 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.01273, allocations: 25.7 kB / 0.9569 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01287, allocations: 327.1 kB / 0.9572 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.01295, allocations: 27.98 kB / 0.9572 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01307, allocations: 88.19 kB / 0.9573 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01322, allocations: 77.58 kB / 0.9574 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01322, allocations: 0 / 0.9574 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002349/0.01346, allocations: 121.5 kB / 0.9575 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01347, allocations: 4 kB / 0.9575 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01348, allocations: 0 / 0.9575 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01349, allocations: 3.984 kB / 0.9575 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.01357, allocations: 12 kB / 0.9575 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01358, allocations: 0 / 0.9575 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.01364, allocations: 11.95 kB / 0.9575 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01366, allocations: 4 kB / 0.9575 GB, free: 4.637 MB / 0.8575 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.0001405/0.0138, allocations: 149.8 kB / 0.9576 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.01383, allocations: 19.94 kB / 0.9577 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.01411, allocations: 131.1 kB / 0.9578 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.01412, allocations: 0 / 0.9578 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01413, allocations: 4 kB / 0.9578 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01413, allocations: 0 / 0.9578 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.01432, allocations: 169.1 kB / 0.958 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01432, allocations: 0 / 0.958 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.01436, allocations: 8 kB / 0.958 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01436, allocations: 3.984 kB / 0.958 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01437, allocations: 0 / 0.958 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01437, allocations: 4 kB / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01437, allocations: 0 / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.01465, allocations: 164.8 kB / 0.9581 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.01468, allocations: 19.89 kB / 0.9581 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.01471, allocations: 4.094 kB / 0.9582 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.01476, allocations: 3.938 kB / 0.9582 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.0148, allocations: 7.984 kB / 0.9582 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01482, allocations: 4 kB / 0.9582 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002203/0.01504, allocations: 204.6 kB / 0.9584 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01504, allocations: 0 / 0.9584 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002615/0.0153, allocations: 31.94 kB / 0.9584 GB, free: 3.668 MB / 0.8575 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.001747/0.01705, allocations: 451.1 kB / 0.9588 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.01728, allocations: 83.83 kB / 0.9589 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01728, allocations: 0 / 0.9589 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.01738, allocations: 35.98 kB / 0.9589 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.01769, allocations: 43.25 kB / 0.959 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.0183, allocations: 314 kB / 0.9593 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.01842, allocations: 122.8 kB / 0.9594 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.01849, allocations: 17.48 kB / 0.9594 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.01855, allocations: 24.5 kB / 0.9594 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.01855, allocations: 0 / 0.9594 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of Templates: time 0.006432/0.02498, allocations: 2.409 MB / 0.9618 GB, free: 368 kB / 0.8575 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/jenkins/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: 7.961940009146929]