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.007514/0.007513, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002062/0.002062, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.728/2.728, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003106/0.3124, allocations: 1.768 MB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3141, allocations: 1.022 MB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.3142, allocations: 0 / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.3148, allocations: 167.5 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3151, allocations: 107.6 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.3155, allocations: 175.4 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3158, allocations: 159.6 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3159, allocations: 29.09 kB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.316, allocations: 71.64 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3161, allocations: 67.75 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3162, allocations: 12 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3163, allocations: 63.95 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.3164, allocations: 47.78 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.3165, allocations: 59.67 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3168, allocations: 191.5 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.3168, allocations: 8 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3168, allocations: 3.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3168, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 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.0007089/0.3175, allocations: 0.496 MB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3176, allocations: 12.03 kB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.3176, allocations: 30.75 kB / 1.171 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.3177, allocations: 16.84 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.318, allocations: 253 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.318, allocations: 4.375 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3181, allocations: 7.938 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3183, allocations: 103.1 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3183, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3183, allocations: 4 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.3183, allocations: 8 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.3184, allocations: 27.98 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.3189, allocations: 360.6 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3191, allocations: 74.66 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.3192, allocations: 32.86 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3193, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3194, allocations: 87.31 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3194, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000362/0.3198, allocations: 145.5 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3199, allocations: 77.11 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3202, allocations: 270.7 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.3203, allocations: 33.7 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.3204, allocations: 116.1 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3204, allocations: 23.8 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3205, allocations: 33.69 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3207, allocations: 326.8 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.3207, allocations: 27.98 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.3208, allocations: 63.41 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.321, allocations: 73.95 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.321, allocations: 0 / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002128/0.3212, allocations: 117.5 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3212, allocations: 4 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3212, allocations: 0 / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3213, allocations: 112 / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.3213, allocations: 20 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3214, allocations: 0 / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.3214, allocations: 19.88 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3214, allocations: 4 kB / 1.173 GB, free: 276 kB / 0.92 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.0001367/0.3216, allocations: 138.3 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3216, allocations: 19.84 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.3217, allocations: 17.39 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.3217, allocations: 8 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3217, allocations: 4 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3217, allocations: 3.938 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3219, allocations: 221.5 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.322, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.322, allocations: 4 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.322, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.322, allocations: 7.984 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.322, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.322, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3223, allocations: 152.9 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.3223, allocations: 96.95 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3224, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.3224, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3225, allocations: 11.92 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3225, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001965/0.3227, allocations: 200.4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3227, allocations: 3.938 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002391/0.3229, allocations: 31.92 kB / 1.174 GB, free: 15.26 MB / 0.9356 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.00192/0.3249, allocations: 0.9949 MB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3251, allocations: 75.91 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3251, allocations: 4.062 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.3252, allocations: 39.98 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3255, allocations: 45.58 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3278, allocations: 1.952 MB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3282, allocations: 0.7318 MB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.3283, allocations: 21.41 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.3284, allocations: 47.36 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3284, allocations: 0 / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3543, allocations: 4.516 MB / 1.182 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.538, allocations: 14.3 kB / 1.182 GB, free: 6.965 MB / 0.9356 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