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.001279/0.001279, allocations: 108 kB / 16.45 MB, free: 6.508 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.001414/0.001414, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.578/1.578, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.899/2.899, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 71.89 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9292/0.9313, allocations: 169.9 MB / 1.278 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003879/0.9352, allocations: 1.821 MB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.9379, allocations: 1.178 MB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.938, allocations: 3.938 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.9388, allocations: 167.5 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.9393, allocations: 159.5 kB / 1.282 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.9399, allocations: 133.5 kB / 1.282 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.9403, allocations: 175.5 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.9404, allocations: 17.11 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.9405, allocations: 79.69 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.9407, allocations: 75.67 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.9407, allocations: 8 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.9409, allocations: 67.89 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.941, allocations: 47.83 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.9411, allocations: 59.61 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.9414, allocations: 209 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9414, allocations: 3.938 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9414, allocations: 0 / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.9414, allocations: 4 kB / 1.282 GB, free: 9.27 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.0009669/0.9424, allocations: 0.4961 MB / 1.283 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9424, allocations: 8.031 kB / 1.283 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.9425, allocations: 38.75 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.9425, allocations: 16.84 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.9429, allocations: 259.9 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.9429, allocations: 8.312 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.943, allocations: 3.938 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.9432, allocations: 99.31 kB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.9432, allocations: 3.984 kB / 1.283 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.9432, allocations: 0 / 1.283 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.9432, allocations: 4 kB / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.9433, allocations: 27.98 kB / 1.283 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.944, allocations: 360.6 kB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.9442, allocations: 74.67 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.9443, allocations: 32.78 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.9443, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.9445, allocations: 83.38 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.9445, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005572/0.9451, allocations: 157.7 kB / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.9452, allocations: 77.11 kB / 1.284 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.9455, allocations: 272.2 kB / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.9456, allocations: 33.64 kB / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.9457, allocations: 112.1 kB / 1.284 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.9457, allocations: 19.86 kB / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.9458, allocations: 33.7 kB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.9461, allocations: 330.8 kB / 1.285 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.9462, allocations: 27.98 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.9463, allocations: 55.41 kB / 1.285 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.9465, allocations: 77.64 kB / 1.285 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9465, allocations: 0 / 1.285 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002373/0.9468, allocations: 117.5 kB / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9468, allocations: 12 kB / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9468, allocations: 112 / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9468, allocations: 3.938 kB / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.9469, allocations: 8 kB / 1.285 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.9469, allocations: 4 kB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.9471, allocations: 19.86 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.9471, allocations: 3.938 kB / 1.285 GB, free: 6.16 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.0001629/0.9472, allocations: 146.8 kB / 1.285 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.9473, allocations: 23.86 kB / 1.285 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.9473, allocations: 17.39 kB / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.9473, allocations: 4 kB / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9474, allocations: 0 / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.9474, allocations: 7.938 kB / 1.285 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.9476, allocations: 221.6 kB / 1.286 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9476, allocations: 0 / 1.286 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.9477, allocations: 8.078 kB / 1.286 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9477, allocations: 3.938 kB / 1.286 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.9477, allocations: 0 / 1.286 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9477, allocations: 4 kB / 1.286 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9477, allocations: 0 / 1.286 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.9479, allocations: 152.9 kB / 1.286 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.948, allocations: 96.91 kB / 1.286 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.9481, allocations: 0 / 1.286 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.9481, allocations: 4 kB / 1.286 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.9482, allocations: 19.91 kB / 1.286 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.9482, allocations: 8 kB / 1.286 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002309/0.9484, allocations: 203.5 kB / 1.286 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9484, allocations: 0 / 1.286 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000259/0.9487, allocations: 24 kB / 1.286 GB, free: 5.133 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.002227/0.9509, allocations: 1.003 MB / 1.287 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.9511, allocations: 71.91 kB / 1.287 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9511, allocations: 0 / 1.287 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.9512, allocations: 31.98 kB / 1.287 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.9515, allocations: 48.77 kB / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.9544, allocations: 2.004 MB / 1.289 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.955, allocations: 0.728 MB / 1.29 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.626e-05/0.955, allocations: 17.42 kB / 1.29 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.9552, allocations: 47.42 kB / 1.29 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of SimCode: time 1.874e-06/0.9552, allocations: 3.938 kB / 1.29 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.9886, allocations: 4.647 MB / 1.294 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/9.383, allocations: 4.062 kB / 1.294 GB, free: 12.65 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.780905806925148]