Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.001285/0.001285, 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.001281/0.001281, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.486/2.486, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.03 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.583, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002024/0.5851, allocations: 0.6205 MB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.5866, allocations: 1.109 MB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.5867, allocations: 4 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.5868, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.961e-05/0.5868, allocations: 7.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.5874, allocations: 124.8 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.5876, allocations: 91.89 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.5877, allocations: 19.91 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.5877, allocations: 27.98 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.5878, allocations: 27.91 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.5879, allocations: 8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.588, allocations: 23.98 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.588, allocations: 11.97 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.5881, allocations: 27.92 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.5882, allocations: 90.03 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5883, allocations: 4 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5883, allocations: 7.875 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5883, allocations: 0 / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004949/0.5888, allocations: 385.1 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5888, allocations: 8.031 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.5889, allocations: 34.75 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.5889, allocations: 8.844 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.5891, allocations: 176.4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5891, allocations: 8.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5891, allocations: 12.31 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.5892, allocations: 46.25 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5893, allocations: 7.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.5893, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5893, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.5893, allocations: 15.92 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.5897, allocations: 304.8 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.5897, allocations: 26.56 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.5897, allocations: 8.922 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.5897, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.616e-05/0.5898, allocations: 59.33 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5898, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001701/0.59, allocations: 61.69 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5901, allocations: 51.41 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.5902, allocations: 117.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.5902, allocations: 25.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.5903, allocations: 92.06 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.5903, allocations: 15.89 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.5904, allocations: 29.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5905, allocations: 314.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.5905, allocations: 27.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.5906, allocations: 54.55 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.5907, allocations: 80.27 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5908, allocations: 7.875 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.591, allocations: 139.3 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.591, allocations: 39.42 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5911, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5911, allocations: 4.094 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.526e-05/0.5911, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5911, allocations: 7.984 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.5913, allocations: 27.91 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.5914, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001076/0.5915, allocations: 117.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.5915, allocations: 11.89 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.5915, allocations: 7.906 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5915, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5915, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5915, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5917, allocations: 169.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5917, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-06/0.5917, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.5917, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.5917, allocations: 3.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5917, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5917, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.5919, allocations: 85.06 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.5919, allocations: 81.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5919, allocations: 3.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.592, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.592, allocations: 7.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.592, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.592, allocations: 87.27 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5921, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002033/0.5923, allocations: 16 kB / 1.022 GB, free: 13.27 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004183/0.5927, allocations: 0.6202 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5929, allocations: 115.4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.5929, allocations: 4.188 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.5929, allocations: 15.94 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.5931, allocations: 15.92 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.5944, allocations: 1.354 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5947, allocations: 0.6846 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.5947, allocations: 3.984 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.5947, allocations: 15.44 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5947, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.6117, allocations: 1.979 MB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.547, allocations: 10.33 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches