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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001784/0.001784, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.027 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.426/3.426, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002071/0.002071, allocations: 70.81 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003743/0.3697, allocations: 1.824 MB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.372, allocations: 1.197 MB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.3721, allocations: 7.938 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.3728, allocations: 173.1 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.3732, allocations: 147.5 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.3736, allocations: 148.2 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3739, allocations: 175.5 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.374, allocations: 13.58 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3741, allocations: 79.69 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3742, allocations: 75.73 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3742, allocations: 8 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3744, allocations: 67.89 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.3745, allocations: 47.83 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.3746, allocations: 67.61 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.375, allocations: 211.1 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.375, allocations: 3.984 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.375, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.375, allocations: 3.938 kB / 1.357 GB, free: 4.156 MB / 1.045 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.001035/0.376, allocations: 426.9 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.3761, allocations: 8.031 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.3761, allocations: 42.73 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.3762, allocations: 20.8 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3766, allocations: 198.1 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3766, allocations: 4.312 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3766, allocations: 11.92 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.3769, allocations: 83.39 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3769, allocations: 3.938 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3769, allocations: 0 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.3769, allocations: 7.984 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.377, allocations: 43.92 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.3777, allocations: 315.8 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3779, allocations: 66.67 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.378, allocations: 36.78 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.378, allocations: 3.984 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3782, allocations: 83.33 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.3782, allocations: 4 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004057/0.3786, allocations: 141.5 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3787, allocations: 81.11 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.379, allocations: 275.8 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3791, allocations: 33.7 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3792, allocations: 124.1 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3792, allocations: 27.78 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.3793, allocations: 21.72 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3794, allocations: 334.8 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.3795, allocations: 24 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3796, allocations: 63.41 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3798, allocations: 81.97 kB / 1.359 GB, free: 1.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3798, allocations: 0 / 1.359 GB, free: 1.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002117/0.38, allocations: 117.5 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.38, allocations: 5.875 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.38, allocations: 0 / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.38, allocations: 4 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.3801, allocations: 12.09 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3801, allocations: 7.875 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.3802, allocations: 15.92 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3802, allocations: 4 kB / 1.36 GB, free: 1.25 MB / 1.045 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.0001629/0.3804, allocations: 141.8 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3804, allocations: 15.91 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.3807, allocations: 130.9 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3807, allocations: 4 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3807, allocations: 0 / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3807, allocations: 3.938 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3809, allocations: 200.7 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3809, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.3809, allocations: 4 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3809, allocations: 3.984 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.381, allocations: 0 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.381, allocations: 0 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.381, allocations: 240 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3812, allocations: 156.8 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.3812, allocations: 19.89 kB / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3812, allocations: 0 / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.3813, allocations: 8 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.3814, allocations: 15.91 kB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3814, allocations: 0 / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002062/0.3816, allocations: 204.6 kB / 1.36 GB, free: 288 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3816, allocations: 4 kB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002446/0.3818, allocations: 27.94 kB / 1.36 GB, free: 256 kB / 1.045 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.002175/0.384, allocations: 1.007 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3843, allocations: 67.91 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3843, allocations: 0 / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.3843, allocations: 31.98 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3847, allocations: 49.03 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3871, allocations: 2.002 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3875, allocations: 0.7241 MB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.3875, allocations: 29.72 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.3876, allocations: 47.42 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3876, allocations: 0 / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.4192, allocations: 4.787 MB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.26, allocations: 3.266 kB / 1.369 GB, free: 7.602 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.609544326000105]