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.01017/0.01017, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.002927/0.002927, allocations: 202 kB / 16.68 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.445/2.445, allocations: 222.9 MB / 240.4 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.685/4.685, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.31 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266/1.268, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002825/1.271, allocations: 0.6307 MB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002364/1.273, allocations: 1.119 MB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/1.274, allocations: 0 / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/1.274, allocations: 3.938 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/1.274, allocations: 11.91 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000782/1.275, allocations: 127.5 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/1.275, allocations: 87.83 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/1.275, allocations: 8 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/1.275, allocations: 39.89 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/1.275, allocations: 35.89 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/1.275, allocations: 8 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/1.275, allocations: 20 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/1.276, allocations: 11.98 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/1.276, allocations: 27.91 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/1.276, allocations: 99.36 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.276, allocations: 0 / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.735e-06/1.276, allocations: 0 / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.276, allocations: 0 / 1.168 GB, free: 1.52 MB / 0.8887 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.0007851/1.277, allocations: 383.1 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/1.277, allocations: 16.92 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/1.277, allocations: 30.75 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/1.277, allocations: 8.891 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/1.277, allocations: 188.3 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/1.277, allocations: 384 / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/1.278, allocations: 8.375 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/1.278, allocations: 42.25 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.278, allocations: 3.938 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/1.278, allocations: 4 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.278, allocations: 0 / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/1.278, allocations: 19.92 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/1.279, allocations: 300.8 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/1.279, allocations: 22.56 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/1.279, allocations: 16.86 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/1.279, allocations: 0 / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/1.279, allocations: 63.33 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/1.279, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003159/1.279, allocations: 65.62 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.28, allocations: 55.41 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.28, allocations: 105.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/1.28, allocations: 29.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/1.28, allocations: 84.14 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/1.28, allocations: 11.94 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.28, allocations: 33.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002496/1.28, allocations: 326.6 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/1.281, allocations: 31.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.281, allocations: 42.88 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.281, allocations: 80.27 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.281, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004765/1.281, allocations: 151.2 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/1.282, allocations: 37.69 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.282, allocations: 3.938 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.282, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/1.282, allocations: 4 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.282, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/1.282, allocations: 24.06 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.282, allocations: 8 kB / 1.17 GB, free: 15.09 MB / 0.9044 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.0001882/1.282, allocations: 125.8 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/1.282, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/1.282, allocations: 7.906 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.282, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.282, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.282, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/1.283, allocations: 161.6 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/1.283, allocations: 4 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/1.283, allocations: 4 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.283, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.283, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.283, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.283, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/1.283, allocations: 88.95 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/1.283, allocations: 81.38 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.283, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/1.283, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/1.283, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/1.283, allocations: 7.922 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.07e-05/1.283, allocations: 87.27 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.283, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004277/1.284, allocations: 19.94 kB / 1.171 GB, free: 14.39 MB / 0.9044 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.0009322/1.285, allocations: 0.6357 MB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004053/1.285, allocations: 115.4 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.285, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/1.285, allocations: 15.94 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/1.286, allocations: 8.734 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/1.289, allocations: 1.365 MB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/1.289, allocations: 0.6768 MB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.2e-05/1.289, allocations: 4 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/1.289, allocations: 11.44 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of SimCode: time 1.152e-06/1.289, allocations: 0 / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/1.33, allocations: 2.002 MB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.76, allocations: 12.36 kB / 1.176 GB, free: 9.539 MB / 0.9044 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