Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_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.007886/0.007886, allocations: 102.4 kB / 15.73 MB, free: 6.051 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.002047/0.002047, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.56 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2646, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003284/0.2679, allocations: 1.778 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2695, allocations: 1.023 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2697, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.2703, allocations: 167.5 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.2707, allocations: 107.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.2711, allocations: 174.5 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.2714, allocations: 163.6 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2715, allocations: 36.83 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2716, allocations: 67.77 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2717, allocations: 67.69 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2717, allocations: 8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.2719, allocations: 71.83 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.272, allocations: 43.91 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.2721, allocations: 59.61 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2724, allocations: 202.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 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.0007128/0.2731, allocations: 0.4888 MB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2732, allocations: 12.03 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2732, allocations: 30.75 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.2733, allocations: 20.75 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.2736, allocations: 256.8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2736, allocations: 4.375 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2736, allocations: 7.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.2738, allocations: 87.36 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2739, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2739, allocations: 8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.2739, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/0.274, allocations: 39.92 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.2745, allocations: 352.7 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.2747, allocations: 70.67 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.2748, allocations: 36.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.2749, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.275, allocations: 79.36 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.275, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003476/0.2754, allocations: 141.7 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2754, allocations: 81.11 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.2757, allocations: 266.9 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2757, allocations: 29.64 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.2758, allocations: 124.1 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2758, allocations: 23.59 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.2759, allocations: 33.7 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.276, allocations: 326.8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.2761, allocations: 27.98 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.2762, allocations: 55.41 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.2763, allocations: 81.67 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2763, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002122/0.2765, allocations: 113.4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2766, allocations: 9.719 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2766, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2766, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.2767, allocations: 8 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2767, allocations: 7.938 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.2768, allocations: 23.89 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2768, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 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.0001289/0.2769, allocations: 146.9 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.2769, allocations: 11.81 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.277, allocations: 21.39 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.277, allocations: 4 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.277, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.277, allocations: 3.938 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.2772, allocations: 225.5 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2772, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.2773, allocations: 4.094 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2773, allocations: 3.938 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2773, allocations: 7.984 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2773, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2773, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.2775, allocations: 144.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.2776, allocations: 100.8 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2776, allocations: 8 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.2777, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.2777, allocations: 7.922 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2778, allocations: 4 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001771/0.2779, allocations: 192.6 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.278, allocations: 0 / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002463/0.2782, allocations: 35.98 kB / 1.095 GB, free: 9.941 MB / 0.8575 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.001358/0.2796, allocations: 1.003 MB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.2798, allocations: 75.89 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2798, allocations: 0 / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.2799, allocations: 39.92 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2802, allocations: 47.91 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.2823, allocations: 1.935 MB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2826, allocations: 0.724 MB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.2826, allocations: 21.42 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.2827, allocations: 51.36 kB / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2827, allocations: 0 / 1.099 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3048, allocations: 4.517 MB / 1.103 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.736, allocations: 10.19 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches