Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006353/0.006353, allocations: 98.64 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 196.2 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.88 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9565/0.958, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003062/0.9611, allocations: 1.78 MB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.9627, allocations: 1.026 MB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.9629, allocations: 3.938 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.9635, allocations: 164.8 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.9638, allocations: 115.5 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.9643, allocations: 169.9 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.9646, allocations: 159.6 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.9647, allocations: 25.12 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.9648, allocations: 71.75 kB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.9649, allocations: 71.73 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.965, allocations: 8 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.9651, allocations: 59.91 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.9652, allocations: 43.84 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.9653, allocations: 67.59 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.9656, allocations: 195 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9657, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9657, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.9657, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 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.0007603/0.9664, allocations: 0.5 MB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9665, allocations: 12.86 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.9665, allocations: 34.75 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.9666, allocations: 20.83 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.9669, allocations: 237.1 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.967, allocations: 12.31 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.967, allocations: 7.938 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.9672, allocations: 91.36 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.9672, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.9672, allocations: 7.984 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.9673, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.9674, allocations: 27.98 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.9679, allocations: 360.6 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9681, allocations: 74.67 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.9682, allocations: 44.72 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.9682, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.9684, allocations: 83.38 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.9684, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003439/0.9688, allocations: 145.5 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.9688, allocations: 77.11 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.9691, allocations: 262.9 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.9691, allocations: 29.7 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.9692, allocations: 124.1 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.9693, allocations: 27.78 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.9693, allocations: 21.72 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9695, allocations: 330.8 kB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.9695, allocations: 32.09 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.9696, allocations: 63.36 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.9698, allocations: 69.64 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9698, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.97, allocations: 113.9 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.97, allocations: 12 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.9701, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9701, allocations: 4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.9702, allocations: 15.98 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.9702, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.9703, allocations: 11.89 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.9703, allocations: 7.938 kB / 1.173 GB, free: 12.73 MB / 0.9044 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.0001469/0.9704, allocations: 141.8 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.9705, allocations: 19.91 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.9705, allocations: 17.39 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.9705, allocations: 4 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9705, allocations: 0 / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9706, allocations: 3.938 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.9708, allocations: 229.6 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9708, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.9708, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.9708, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.9709, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.9709, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9709, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.9711, allocations: 148.9 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.9712, allocations: 100.9 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.9713, allocations: 0 / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.9713, allocations: 4 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.9714, allocations: 11.92 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.9714, allocations: 0 / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002043/0.9716, allocations: 212.3 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3e-07/0.9716, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002546/0.9719, allocations: 27.94 kB / 1.174 GB, free: 11.72 MB / 0.9044 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.001416/0.9733, allocations: 1.001 MB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.9735, allocations: 71.91 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9736, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.9736, allocations: 43.97 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.974, allocations: 51.75 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.9763, allocations: 1.962 MB / 1.177 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.9766, allocations: 0.7201 MB / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.9767, allocations: 25.7 kB / 1.177 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.9768, allocations: 47.42 kB / 1.177 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9768, allocations: 0 / 1.177 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.9998, allocations: 4.519 MB / 1.182 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/9.066, allocations: 15.88 kB / 1.182 GB, free: 3.383 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches