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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 191.4 kB / 16.66 MB, free: 6.582 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 72.11 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003137/0.273, allocations: 1.774 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2747, allocations: 1.025 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.2748, allocations: 8 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.2754, allocations: 171.3 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.2757, allocations: 111.6 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2762, allocations: 167.5 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.2764, allocations: 167.6 kB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.2765, allocations: 25.09 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2767, allocations: 67.7 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2768, allocations: 71.75 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.2768, allocations: 4 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.277, allocations: 55.95 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.2771, allocations: 47.78 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.2771, allocations: 71.61 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.2774, allocations: 199.2 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2775, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2775, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2775, allocations: 0 / 1.224 GB, free: 10.34 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.0007027/0.2782, allocations: 0.496 MB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2782, allocations: 8.031 kB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.2783, allocations: 38.69 kB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.2783, allocations: 16.84 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.2786, allocations: 257 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2787, allocations: 4.375 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2787, allocations: 7.938 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.2789, allocations: 91.31 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2789, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2789, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.2789, allocations: 4 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.279, allocations: 31.92 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.2796, allocations: 360.6 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2798, allocations: 78.61 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.2799, allocations: 28.86 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2799, allocations: 3.984 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.2801, allocations: 95.3 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.2801, allocations: 0 / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003397/0.2804, allocations: 137.6 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2805, allocations: 81.09 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.2808, allocations: 266.9 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2808, allocations: 29.7 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.2809, allocations: 124.1 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2809, allocations: 23.8 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.281, allocations: 25.7 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2811, allocations: 326.9 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.2812, allocations: 31.92 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2813, allocations: 63.41 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2815, allocations: 73.67 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2815, allocations: 384 / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002288/0.2817, allocations: 125.4 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2817, allocations: 4 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2818, allocations: 0 / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2818, allocations: 4 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.2818, allocations: 15.98 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2819, allocations: 0 / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.2819, allocations: 15.92 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.2819, allocations: 4 kB / 1.227 GB, free: 7.238 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.00013/0.2821, allocations: 142.8 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2821, allocations: 15.91 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.2822, allocations: 17.39 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2822, allocations: 4 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2822, allocations: 0 / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2822, allocations: 3.938 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2824, allocations: 225.5 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2824, allocations: 4 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.2825, allocations: 4 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2825, allocations: 0 / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2825, allocations: 3.984 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2825, allocations: 0 / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2825, allocations: 0 / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2828, allocations: 156.8 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.2828, allocations: 96.94 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2829, allocations: 4 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.2829, allocations: 4 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.283, allocations: 19.86 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.283, allocations: 0 / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002109/0.2832, allocations: 192.6 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2832, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.2835, allocations: 31.92 kB / 1.228 GB, free: 6.23 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.002026/0.2855, allocations: 0.9936 MB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.2857, allocations: 75.91 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2857, allocations: 0 / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.2858, allocations: 39.92 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.2861, allocations: 47.17 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.2885, allocations: 1.962 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2888, allocations: 0.724 MB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.56e-05/0.2889, allocations: 29.7 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.289, allocations: 47.42 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.289, allocations: 0 / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3153, allocations: 4.515 MB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.024, allocations: 8.938 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB (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) 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) Reference file matches