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.001684/0.001684, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001509/0.001509, allocations: 220 kB / 22.24 MB, free: 5.109 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.334/3.334, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.002056/0.002056, allocations: 66.19 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4254, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004135/0.4295, allocations: 1.792 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.4318, allocations: 1.11 MB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.4319, allocations: 7.875 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.4327, allocations: 171.5 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.4332, allocations: 155.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.4337, allocations: 143.6 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.434, allocations: 175.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.4341, allocations: 17.59 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4342, allocations: 71.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4344, allocations: 71.73 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.4344, allocations: 8 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.4346, allocations: 75.88 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4347, allocations: 43.84 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4348, allocations: 51.66 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.4352, allocations: 211.1 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4352, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4352, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4352, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 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.0009279/0.4361, allocations: 430.9 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4362, allocations: 15.97 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.4362, allocations: 38.73 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.4363, allocations: 16.84 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.4366, allocations: 186.2 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4366, allocations: 12.3 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4367, allocations: 7.938 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4369, allocations: 69.67 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4369, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4369, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4369, allocations: 7.984 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.437, allocations: 35.98 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.4376, allocations: 315.7 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.4378, allocations: 70.67 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.4379, allocations: 32.84 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4379, allocations: 3.938 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.4381, allocations: 83.38 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4381, allocations: 4 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003916/0.4385, allocations: 153.5 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4386, allocations: 55.41 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.4389, allocations: 279.7 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4389, allocations: 29.7 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.439, allocations: 124.1 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.4391, allocations: 19.8 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.4391, allocations: 33.7 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.4393, allocations: 330.8 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.4394, allocations: 24.09 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4395, allocations: 92.19 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4396, allocations: 77.95 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4396, allocations: 0 / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002288/0.4399, allocations: 117.5 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4399, allocations: 4 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4399, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4399, allocations: 4 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.44, allocations: 11.98 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.44, allocations: 4.062 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.4401, allocations: 11.89 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4401, allocations: 12 kB / 1.37 GB, free: 7.156 MB / 1.061 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.0002035/0.4403, allocations: 141.8 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.4403, allocations: 19.91 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.4406, allocations: 127.3 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4406, allocations: 7.984 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4406, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4406, allocations: 3.938 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.4409, allocations: 196.5 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4409, allocations: 3.984 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.4409, allocations: 11.94 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4409, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4409, allocations: 4 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4409, allocations: 0 / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4409, allocations: 80 / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.4412, allocations: 164.8 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.4412, allocations: 11.91 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.4412, allocations: 0 / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.4413, allocations: 11.98 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4414, allocations: 11.94 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4414, allocations: 3.984 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002852/0.4417, allocations: 204.6 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4417, allocations: 0 / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002576/0.4419, allocations: 35.88 kB / 1.371 GB, free: 6.137 MB / 1.061 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.002278/0.4442, allocations: 1.02 MB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.4444, allocations: 75.91 kB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4444, allocations: 0 / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.4445, allocations: 43.92 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4449, allocations: 48.03 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.4478, allocations: 2.02 MB / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4479, allocations: 110.6 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.448, allocations: 29.7 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4481, allocations: 55.42 kB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/0.4481, allocations: 0 / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.4878, allocations: 5.279 MB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.96, allocations: 8.547 kB / 1.379 GB, free: 13.59 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[4] in file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[4] from file Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.35117805469781]