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.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 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.001444/0.001444, allocations: 198 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.602/2.602, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6069, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003329/0.6103, allocations: 1.785 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.6121, allocations: 1.018 MB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.6122, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.6129, allocations: 167.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.6131, allocations: 115.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.6135, allocations: 179.3 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.6138, allocations: 167.6 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.6139, allocations: 25.11 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.614, allocations: 67.77 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.6141, allocations: 59.77 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.6141, allocations: 8 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.6143, allocations: 67.89 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.6143, allocations: 43.84 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.6144, allocations: 59.61 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.6147, allocations: 197.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6147, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6147, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.6147, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 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.0007342/0.6155, allocations: 492.2 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6155, allocations: 16.02 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.6156, allocations: 34.75 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.6156, allocations: 20.66 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.6159, allocations: 237 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6159, allocations: 4.375 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6159, allocations: 11.88 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.6161, allocations: 99.25 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.6161, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6161, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.6162, allocations: 3.984 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.6163, allocations: 31.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.6167, allocations: 360.5 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.6169, allocations: 78.66 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.617, allocations: 36.84 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.617, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.6172, allocations: 87.31 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.6172, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003183/0.6176, allocations: 137.5 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6176, allocations: 81.05 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.6179, allocations: 266.9 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6179, allocations: 29.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.618, allocations: 120 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.618, allocations: 23.7 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.6181, allocations: 25.7 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.6182, allocations: 330.8 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.6183, allocations: 27.98 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.6183, allocations: 55.42 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.6185, allocations: 81.94 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6185, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002014/0.6187, allocations: 121.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6187, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6187, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6188, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.6188, allocations: 16 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6188, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.6189, allocations: 19.77 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6189, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 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.0001205/0.6191, allocations: 145.9 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.6191, allocations: 15.81 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.6191, allocations: 17.39 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.6192, allocations: 7.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6192, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6192, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.6193, allocations: 217.6 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6194, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.6194, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.6194, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.6194, allocations: 7.984 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6194, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6194, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.6196, allocations: 148.8 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.6197, allocations: 96.86 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.6197, allocations: 3.984 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.891e-05/0.6198, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.6198, allocations: 3.938 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.6199, allocations: 15.92 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001681/0.62, allocations: 196.4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.62, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002445/0.6203, allocations: 28 kB / 1.025 GB, free: 10.47 MB / 0.7794 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.001366/0.6217, allocations: 1.001 MB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.6219, allocations: 83.91 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6219, allocations: 0 / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.622, allocations: 31.98 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.6223, allocations: 40.89 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.6243, allocations: 1.947 MB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.6246, allocations: 0.7279 MB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.382e-05/0.6247, allocations: 25.39 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.6247, allocations: 51.42 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6247, allocations: 0 / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.6444, allocations: 4.42 MB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.692, allocations: 10.05 kB / 1.033 GB, free: 2.254 MB / 0.7794 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