Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.007989/0.007989, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.001925/0.001925, allocations: 199 kB / 16.68 MB, free: 5.965 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3271, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002163/0.3293, allocations: 0.638 MB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3308, allocations: 1.113 MB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.3309, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.3311, allocations: 7.922 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3312, allocations: 15.92 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3318, allocations: 123.6 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3321, allocations: 195.7 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3322, allocations: 16.28 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3323, allocations: 83.81 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.3325, allocations: 71.78 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.3326, allocations: 16 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.3327, allocations: 31.97 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3328, allocations: 23.98 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3329, allocations: 67.77 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3332, allocations: 199.4 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3332, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3332, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3332, allocations: 0 / 1.169 GB, free: 4.691 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006615/0.3339, allocations: 454.5 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.334, allocations: 12.03 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.334, allocations: 38.73 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.3341, allocations: 16.89 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3344, allocations: 216.2 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3344, allocations: 12.31 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3344, allocations: 12.38 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3346, allocations: 95.92 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3347, allocations: 7.875 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3347, allocations: 4 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3347, allocations: 0 / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.3348, allocations: 47.95 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.3354, allocations: 496.8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.3354, allocations: 49.2 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.3355, allocations: 29.7 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3355, allocations: 4 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3357, allocations: 113 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3357, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002922/0.336, allocations: 137.4 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.336, allocations: 85.09 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3361, allocations: 137.8 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.3362, allocations: 33.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.3363, allocations: 100 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3363, allocations: 15.94 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3364, allocations: 53.69 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3365, allocations: 318.8 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3367, allocations: 123.9 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.337, allocations: 165 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3372, allocations: 216.4 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3372, allocations: 4 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005419/0.3378, allocations: 376.7 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.3378, allocations: 71.39 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3379, allocations: 0 / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3379, allocations: 4 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.402e-05/0.3379, allocations: 3.938 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3379, allocations: 11.92 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.3383, allocations: 67.98 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3383, allocations: 15.98 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.3385, allocations: 137.8 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.3385, allocations: 3.953 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3385, allocations: 11.91 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3385, allocations: 0 / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3385, allocations: 3.984 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3386, allocations: 11.94 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3387, allocations: 177.6 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3387, allocations: 0 / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-06/0.3387, allocations: 4 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3388, allocations: 0 / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3388, allocations: 7.938 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3388, allocations: 4 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3388, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3389, allocations: 137.8 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.339, allocations: 81.44 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.339, allocations: 4 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.339, allocations: 7.984 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3391, allocations: 7.938 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3391, allocations: 0 / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.3391, allocations: 103.8 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3391, allocations: 0 / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002457/0.3394, allocations: 35.94 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0004918/0.3399, allocations: 0.6876 MB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.3404, allocations: 322.6 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3404, allocations: 384 / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.3405, allocations: 43.91 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3407, allocations: 19.92 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.343, allocations: 2.168 MB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3433, allocations: 0.7002 MB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3433, allocations: 15.98 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3434, allocations: 19.44 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3434, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3642, allocations: 3.488 MB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.246, allocations: 15.61 kB / 1.18 GB, free: 8.516 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_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_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches