Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_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.001533/0.001533, 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.002581/0.002581, allocations: 192.5 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6846, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001828/0.6864, allocations: 0.6256 MB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.6875, allocations: 1.109 MB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.6876, allocations: 5.25 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.6877, allocations: 4 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.6877, allocations: 9.234 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.6881, allocations: 122.9 kB / 0.9516 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.6883, allocations: 91.19 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.6883, allocations: 7.156 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.6884, allocations: 39.72 kB / 0.9517 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.6885, allocations: 23.06 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.6885, allocations: 8.688 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.6886, allocations: 29.41 kB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.6887, allocations: 7.844 kB / 0.9517 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.6887, allocations: 34 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.6889, allocations: 87.88 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6889, allocations: 0 / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6889, allocations: 5.281 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6889, allocations: 0 / 0.9519 GB, free: 7.555 MB / 0.7169 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.0003507/0.6893, allocations: 378 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6893, allocations: 8.875 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.29e-05/0.6893, allocations: 35.91 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.6894, allocations: 13.14 kB / 0.9523 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6895, allocations: 175.1 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6895, allocations: 2.594 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6896, allocations: 9.781 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6897, allocations: 55.11 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6897, allocations: 7.875 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.6897, allocations: 1.094 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6897, allocations: 0 / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.6897, allocations: 10.56 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.69, allocations: 304 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.6901, allocations: 30.33 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.6901, allocations: 10.22 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.6901, allocations: 1.25 kB / 0.9529 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.6902, allocations: 53.44 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6902, allocations: 0 / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001583/0.6904, allocations: 66.77 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.6904, allocations: 56.98 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.6905, allocations: 114.7 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.6905, allocations: 26.83 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.6906, allocations: 91.39 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.6906, allocations: 5.062 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.6906, allocations: 30.7 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.6907, allocations: 324 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.6908, allocations: 25.95 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.6908, allocations: 51.69 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.6909, allocations: 84.67 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6909, allocations: 0 / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.6911, allocations: 142.7 kB / 0.9539 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6912, allocations: 37.28 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.6912, allocations: 0 / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6912, allocations: 1.719 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.384e-05/0.6912, allocations: 5.156 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6912, allocations: 1.469 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.6914, allocations: 31.22 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6915, allocations: 8.859 kB / 0.954 GB, free: 5.406 MB / 0.7169 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 5.973e-05/0.6915, allocations: 116.4 kB / 0.9541 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.6916, allocations: 9.062 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.6916, allocations: 5.5 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6916, allocations: 4 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6916, allocations: 3.938 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6916, allocations: 1.531 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.041e-05/0.6917, allocations: 163.8 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.6917, allocations: 1.188 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.6917, allocations: 3.938 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6917, allocations: 1.188 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.6917, allocations: 1 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6917, allocations: 0 / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6917, allocations: 1 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.6918, allocations: 87.52 kB / 0.9544 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.6918, allocations: 78.36 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.6918, allocations: 1.188 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.6919, allocations: 8.25 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.6919, allocations: 6.234 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.6919, allocations: 5.062 kB / 0.9544 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.6919, allocations: 79.78 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6919, allocations: 1 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002128/0.6922, allocations: 26.03 kB / 0.9545 GB, free: 4.773 MB / 0.7169 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.0002513/0.6924, allocations: 0.6225 MB / 0.9552 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.6926, allocations: 123.5 kB / 0.9553 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6926, allocations: 192 / 0.9553 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.6927, allocations: 16.42 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.6929, allocations: 17.23 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6939, allocations: 1.358 MB / 0.9566 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.694, allocations: 0.6878 MB / 0.9573 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.694, allocations: 6.438 kB / 0.9573 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.694, allocations: 13 kB / 0.9573 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.694, allocations: 0 / 0.9573 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.711, allocations: 1.961 MB / 0.9592 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.459, allocations: 13.58 kB / 0.9593 GB, free: 0.9883 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches