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.001697/0.001697, 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.002047/0.002047, allocations: 219.2 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.016 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.491/3.491, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002108/0.002108, allocations: 75.53 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4572, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003886/0.461, allocations: 1.834 MB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.4633, allocations: 1.197 MB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.4634, allocations: 3.938 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.4641, allocations: 171.5 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.4646, allocations: 155.5 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.4651, allocations: 141.8 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.4653, allocations: 179.6 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4654, allocations: 9.594 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.4656, allocations: 83.62 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.4657, allocations: 71.73 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.4657, allocations: 12 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.4659, allocations: 75.86 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.466, allocations: 47.84 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.4661, allocations: 55.62 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.4664, allocations: 215.1 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4664, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4664, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4664, allocations: 3.938 kB / 1.357 GB, free: 4.184 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.0008064/0.4672, allocations: 426.9 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4673, allocations: 12.03 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.4673, allocations: 38.73 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4674, allocations: 24.8 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.4677, allocations: 194.1 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4677, allocations: 4.375 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4677, allocations: 7.938 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.468, allocations: 95.25 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.468, allocations: 0 / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.468, allocations: 3.938 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.468, allocations: 4 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4681, allocations: 35.98 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.4687, allocations: 331.7 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.4689, allocations: 70.67 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.4689, allocations: 20.86 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.469, allocations: 15.98 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.4692, allocations: 75.33 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4692, allocations: 0 / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0003741/0.4696, allocations: 145.5 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.4696, allocations: 77.11 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.47, allocations: 279.8 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.47, allocations: 29.7 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.4701, allocations: 124.1 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.4701, allocations: 31.77 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.4702, allocations: 25.72 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4703, allocations: 334.8 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.4704, allocations: 27.98 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4705, allocations: 59.42 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4706, allocations: 81.98 kB / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4706, allocations: 0 / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002138/0.4709, allocations: 113.5 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4709, allocations: 10.03 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4709, allocations: 160 / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4709, allocations: 3.984 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.471, allocations: 8 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.471, allocations: 8.094 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.471, allocations: 19.86 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.471, allocations: 0 / 1.36 GB, free: 1.273 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.0001496/0.4712, allocations: 153.7 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4712, allocations: 19.89 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.4715, allocations: 123 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4715, allocations: 3.938 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4715, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4715, allocations: 7.938 kB / 1.36 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.4717, allocations: 204.6 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4717, allocations: 0 / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.4717, allocations: 4 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4717, allocations: 0 / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4717, allocations: 4 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4717, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4717, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.472, allocations: 152.8 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.472, allocations: 19.91 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4721, allocations: 0 / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.4721, allocations: 4 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.4722, allocations: 11.92 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4722, allocations: 8 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002102/0.4724, allocations: 204.6 kB / 1.36 GB, free: 300 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4724, allocations: 0 / 1.36 GB, free: 300 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002379/0.4726, allocations: 31.94 kB / 1.361 GB, free: 268 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.002123/0.4747, allocations: 0.9976 MB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.475, allocations: 67.91 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.475, allocations: 0 / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.4751, allocations: 35.97 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4754, allocations: 44.86 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.478, allocations: 1.998 MB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4784, allocations: 0.7241 MB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.4785, allocations: 29.72 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.4786, allocations: 47.42 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.4786, allocations: 4 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.5148, allocations: 4.787 MB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.68, allocations: 7.25 kB / 1.369 GB, free: 7.617 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.04676535096951]