Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_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.00174/0.00174, 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.002844/0.002844, allocations: 193.7 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.591/1.591, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 469.4 MB / 0.742 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 63.06 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4056, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.004009/0.4097, allocations: 0.6094 MB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.4123, allocations: 1.125 MB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.4124, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.4126, allocations: 0 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.4126, allocations: 7.922 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.4134, allocations: 121.8 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.4136, allocations: 99.83 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4137, allocations: 11.97 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.4139, allocations: 35.91 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.414, allocations: 27.91 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.414, allocations: 8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4142, allocations: 19.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.4142, allocations: 11.98 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.4143, allocations: 35.91 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4146, allocations: 88.06 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4146, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4146, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4146, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 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.0006205/0.4152, allocations: 381.1 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4153, allocations: 12.03 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.4154, allocations: 30.75 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.4154, allocations: 8.938 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4157, allocations: 188.2 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4157, allocations: 8.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.4158, allocations: 8.375 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4159, allocations: 46.19 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.416, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.416, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.416, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.4161, allocations: 15.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.4166, allocations: 304.8 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.4167, allocations: 18.52 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.4167, allocations: 12.92 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.4167, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.417, allocations: 59.39 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.943e-06/0.417, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002422/0.4172, allocations: 69.53 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4173, allocations: 55.39 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4174, allocations: 101.9 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.4175, allocations: 29.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.4176, allocations: 92.12 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.4176, allocations: 3.906 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.4177, allocations: 29.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.418, allocations: 318.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4181, allocations: 35.97 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4182, allocations: 42.56 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4184, allocations: 88.14 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4184, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003425/0.4188, allocations: 143.3 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4189, allocations: 37.7 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4189, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.419, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.382e-05/0.419, allocations: 3.984 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.419, allocations: 3.984 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.4193, allocations: 23.97 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4193, allocations: 8 kB / 1.068 GB, free: 9.906 MB / 0.8262 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.0001399/0.4195, allocations: 126.3 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.4195, allocations: 3.938 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.4196, allocations: 8.141 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4196, allocations: 4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4196, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4196, allocations: 4.297 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4198, allocations: 169.6 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4198, allocations: 4 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.4198, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4198, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4198, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4198, allocations: 8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4198, allocations: 0 / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.42, allocations: 80.97 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4201, allocations: 81.09 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4201, allocations: 7.938 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.4201, allocations: 0 / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4201, allocations: 0 / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.4202, allocations: 4 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.4202, allocations: 95.2 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4202, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003428/0.4206, allocations: 12 kB / 1.069 GB, free: 9.211 MB / 0.8262 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.000628/0.4212, allocations: 0.6241 MB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.4215, allocations: 127.3 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4216, allocations: 0 / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.4216, allocations: 15.94 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4219, allocations: 7.984 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.424, allocations: 1.361 MB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4243, allocations: 0.6845 MB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.4243, allocations: 3.984 kB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.4244, allocations: 15.44 kB / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4244, allocations: 0 / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.4513, allocations: 1.977 MB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.069, allocations: 10.2 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches