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.001396/0.001396, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001612/0.001612, allocations: 213.5 kB / 22.25 MB, free: 5.121 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.992 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.876/2.876, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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: "" <> 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: 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.002041/0.002041, allocations: 70.52 kB / 1.117 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3496, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003343/0.3529, allocations: 1.826 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.355, allocations: 1.2 MB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3551, allocations: 7.938 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.3558, allocations: 175.5 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.3563, allocations: 152.8 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3567, allocations: 143.3 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3569, allocations: 167.6 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.357, allocations: 17.3 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3571, allocations: 83.58 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3572, allocations: 79.72 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3573, allocations: 11.94 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3574, allocations: 75.88 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.3575, allocations: 39.91 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.3576, allocations: 71.53 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.3579, allocations: 206.7 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3579, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3579, allocations: 0 / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3579, allocations: 0 / 1.288 GB, free: 7.445 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.0007722/0.3587, allocations: 446.8 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3587, allocations: 8.031 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.3588, allocations: 30.75 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.3588, allocations: 20.8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3591, allocations: 190.2 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3592, allocations: 16.3 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3592, allocations: 7.938 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3594, allocations: 91.31 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3594, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3594, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.3594, allocations: 4 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3595, allocations: 31.98 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.3601, allocations: 327.7 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3603, allocations: 70.67 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.3604, allocations: 32.84 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3604, allocations: 3.938 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3606, allocations: 75.39 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.3606, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003588/0.3609, allocations: 157.7 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.361, allocations: 85.11 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.3613, allocations: 271 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3613, allocations: 29.7 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.3614, allocations: 120.1 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3615, allocations: 23.8 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3615, allocations: 29.7 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3617, allocations: 326.8 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3617, allocations: 36.03 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.3618, allocations: 55.42 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.362, allocations: 73.62 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.362, allocations: 0 / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002215/0.3622, allocations: 121.5 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3622, allocations: 8.062 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3622, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3622, allocations: 4 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.3623, allocations: 8 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3623, allocations: 0 / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.3624, allocations: 19.86 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3624, allocations: 4 kB / 1.29 GB, free: 4.535 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.0001444/0.3625, allocations: 142.3 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3626, allocations: 19.86 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.3628, allocations: 131.1 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3628, allocations: 7.938 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3628, allocations: 0 / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3628, allocations: 3.938 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3631, allocations: 196.7 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3631, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.3631, allocations: 7.984 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3631, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3631, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3631, allocations: 0 / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3631, allocations: 4 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3634, allocations: 152.8 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.3634, allocations: 15.91 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3634, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.3635, allocations: 11.97 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3635, allocations: 7.938 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3635, allocations: 7.922 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002176/0.3637, allocations: 204.7 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3637, allocations: 0 / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002611/0.364, allocations: 35.92 kB / 1.291 GB, free: 3.523 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.002165/0.3662, allocations: 0.9895 MB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3664, allocations: 67.91 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3664, allocations: 0 / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.3665, allocations: 31.98 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3668, allocations: 46.81 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3694, allocations: 1.997 MB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3697, allocations: 0.7241 MB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.576e-05/0.3698, allocations: 25.72 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.3699, allocations: 51.41 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.3699, allocations: 0 / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.4033, allocations: 4.796 MB / 1.3 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 0.75 kB / 1.3 GB, free: 10.91 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.633372624999538]