Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001804/0.001804, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002485/0.002485, allocations: 217 kB / 22.26 MB, free: 5.117 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.438/3.438, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_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.002057/0.002057, allocations: 72.86 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4585, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003844/0.4624, allocations: 1.827 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.4648, allocations: 1.204 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.465, allocations: 3.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.4658, allocations: 174.5 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.4664, allocations: 151.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.467, allocations: 143.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.4673, allocations: 179.5 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.4675, allocations: 9.594 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.4676, allocations: 83.69 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.4678, allocations: 79.72 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.4678, allocations: 8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.4681, allocations: 71.88 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.4681, allocations: 43.84 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.4683, allocations: 59.61 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.4687, allocations: 219 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4687, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4687, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.4687, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 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.0008618/0.4696, allocations: 430.9 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4696, allocations: 12.03 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.4697, allocations: 34.75 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.4698, allocations: 20.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.4701, allocations: 186.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4701, allocations: 8.312 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4701, allocations: 11.88 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4704, allocations: 91.38 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4704, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4704, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4704, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.4705, allocations: 35.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.4711, allocations: 327.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4713, allocations: 74.67 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.4714, allocations: 32.78 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.4715, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.4716, allocations: 75.39 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.4716, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0003919/0.472, allocations: 153.4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.4721, allocations: 81.09 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.4725, allocations: 279 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4725, allocations: 25.7 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.4726, allocations: 116.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.4726, allocations: 35.77 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.4727, allocations: 25.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4729, allocations: 330.8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.4729, allocations: 31.98 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.473, allocations: 55.42 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4732, allocations: 77.62 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4732, allocations: 4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002333/0.4734, allocations: 125.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4734, allocations: 8.062 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4734, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4735, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.4735, allocations: 12 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4736, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.4736, allocations: 7.938 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4736, allocations: 8.297 kB / 1.333 GB, free: 10.79 MB / 1.029 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.0001584/0.4738, allocations: 146.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.4738, allocations: 19.86 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.4741, allocations: 134.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4741, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4741, allocations: 7.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4741, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4744, allocations: 196.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4744, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.4744, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4744, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4744, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4744, allocations: 240 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4744, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.4747, allocations: 156.8 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.4747, allocations: 11.91 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4747, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.4748, allocations: 11.98 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.4748, allocations: 3.938 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4748, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002297/0.4751, allocations: 208.6 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4751, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002555/0.4753, allocations: 31.94 kB / 1.334 GB, free: 9.781 MB / 1.029 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.002154/0.4775, allocations: 1.009 MB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.4777, allocations: 71.89 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4777, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.4778, allocations: 31.98 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4781, allocations: 43.73 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.4807, allocations: 1.997 MB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4811, allocations: 0.7241 MB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.354e-05/0.4812, allocations: 25.72 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.4813, allocations: 47.42 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/0.4813, allocations: 0 / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.5166, allocations: 4.801 MB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.92, allocations: 5.828 kB / 1.342 GB, free: 1.137 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.53813943406567]