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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.9 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7635 GB, free: 10.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 63.91 kB / 1.108 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8519, allocations: 168.7 MB / 1.272 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004136/0.856, allocations: 1.805 MB / 1.274 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.8579, allocations: 1.05 MB / 1.275 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.858, allocations: 4 kB / 1.275 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.8586, allocations: 159.5 kB / 1.275 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.8589, allocations: 115.6 kB / 1.275 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.8594, allocations: 178.8 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.8598, allocations: 171.6 kB / 1.276 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.86, allocations: 13.11 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.8601, allocations: 71.69 kB / 1.276 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.8603, allocations: 75.73 kB / 1.276 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.8603, allocations: 8 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.8605, allocations: 55.97 kB / 1.276 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.8605, allocations: 51.77 kB / 1.276 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.8606, allocations: 59.61 kB / 1.276 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.8611, allocations: 197 kB / 1.276 GB, free: 348 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8611, allocations: 8 kB / 1.276 GB, free: 340 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8611, allocations: 0 / 1.276 GB, free: 340 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8611, allocations: 0 / 1.276 GB, free: 340 kB / 0.9669 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.0008281/0.8619, allocations: 0.5038 MB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.862, allocations: 8.031 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.862, allocations: 34.75 kB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.8621, allocations: 16.84 kB / 1.277 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.8624, allocations: 249 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8624, allocations: 384 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.8624, allocations: 15.94 kB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.8626, allocations: 87.31 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8626, allocations: 0 / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.8627, allocations: 0 / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.8627, allocations: 4 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.8628, allocations: 35.98 kB / 1.277 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.8633, allocations: 360.6 kB / 1.278 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.8635, allocations: 70.67 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.8636, allocations: 24.86 kB / 1.278 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.8636, allocations: 4 kB / 1.278 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.8638, allocations: 83.31 kB / 1.278 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.8638, allocations: 0 / 1.278 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003666/0.8642, allocations: 153.4 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.8642, allocations: 77.11 kB / 1.278 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.8645, allocations: 267 kB / 1.278 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.8646, allocations: 33.64 kB / 1.278 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.8647, allocations: 120.1 kB / 1.278 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.8647, allocations: 19.8 kB / 1.278 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.8647, allocations: 33.7 kB / 1.278 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000297/0.865, allocations: 330.8 kB / 1.279 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.8651, allocations: 23.98 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.8652, allocations: 59.41 kB / 1.279 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.8653, allocations: 73.64 kB / 1.279 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8653, allocations: 32 / 1.279 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00023/0.8656, allocations: 117.5 kB / 1.279 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8656, allocations: 5.719 kB / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.8656, allocations: 4 kB / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8656, allocations: 0 / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.8657, allocations: 8 kB / 1.279 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.8657, allocations: 0 / 1.279 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.8658, allocations: 19.88 kB / 1.279 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.8658, allocations: 4 kB / 1.279 GB, free: 13.26 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.0002133/0.866, allocations: 158.7 kB / 1.279 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.866, allocations: 20.28 kB / 1.279 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.8663, allocations: 123 kB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8663, allocations: 4 kB / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8663, allocations: 0 / 1.279 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.8663, allocations: 11.91 kB / 1.279 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.8666, allocations: 213.6 kB / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8666, allocations: 0 / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.8666, allocations: 7.938 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8666, allocations: 4 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.8666, allocations: 8 kB / 1.28 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8666, allocations: 0 / 1.28 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8666, allocations: 3.938 kB / 1.28 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.8668, allocations: 148.8 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.8669, allocations: 92.95 kB / 1.28 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.8669, allocations: 8 kB / 1.28 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.867, allocations: 11.97 kB / 1.28 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.867, allocations: 7.938 kB / 1.28 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.867, allocations: 4 kB / 1.28 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002094/0.8673, allocations: 199 kB / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8673, allocations: 0 / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002689/0.8675, allocations: 27.94 kB / 1.28 GB, free: 12.12 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 (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.002097/0.8696, allocations: 0.9957 MB / 1.281 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.8699, allocations: 67.91 kB / 1.281 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8699, allocations: 0 / 1.281 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.8699, allocations: 31.98 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.8703, allocations: 41.98 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.873, allocations: 1.982 MB / 1.283 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.8734, allocations: 0.7278 MB / 1.284 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.303e-05/0.8735, allocations: 25.41 kB / 1.284 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.8736, allocations: 47.42 kB / 1.284 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.8736, allocations: 0 / 1.284 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.9026, allocations: 4.527 MB / 1.288 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.258, allocations: 6.719 kB / 1.288 GB, free: 3.766 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! Error: Could not read variable booRep.y[4] in file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv. Warning: Get data of variable booRep.y[4] from file Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.676872959942557]