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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 210.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.426/3.426, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002955, allocations: 75.5 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.41, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00225/0.4122, allocations: 0.6219 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4143, allocations: 1.128 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.4143, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.4145, allocations: 7.938 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.4145, allocations: 11.88 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.4151, allocations: 124.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.4153, allocations: 99.72 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4154, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.4155, allocations: 31.98 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4157, allocations: 31.88 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.4157, allocations: 8 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.4158, allocations: 27.98 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.4159, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.4159, allocations: 27.92 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.4162, allocations: 87.78 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4162, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4162, allocations: 3.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.4162, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 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.0006105/0.4168, allocations: 307.9 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4168, allocations: 12.03 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.4169, allocations: 34.69 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.4169, allocations: 4.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.4172, allocations: 130.5 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4172, allocations: 8.375 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4172, allocations: 4.375 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.4174, allocations: 42.25 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4174, allocations: 3.938 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4174, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4174, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.4174, allocations: 8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.4179, allocations: 267.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.418, allocations: 22.56 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.418, allocations: 13.92 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.418, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.4182, allocations: 63.39 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4182, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.00022/0.4184, allocations: 65.64 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.4185, allocations: 51.41 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4186, allocations: 105.8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.4186, allocations: 29.7 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.4187, allocations: 88.09 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.4187, allocations: 4 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.4188, allocations: 37.69 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.419, allocations: 318.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4191, allocations: 57.62 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4192, allocations: 88.19 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4193, allocations: 76.27 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4193, allocations: 3.938 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000295/0.4196, allocations: 181 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.4196, allocations: 37.69 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.4196, allocations: 4.094 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4196, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.4197, allocations: 3.938 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4197, allocations: 4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.4199, allocations: 27.91 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4199, allocations: 4 kB / 1.368 GB, free: 9.535 MB / 1.061 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.0001123/0.42, allocations: 121.8 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.42, allocations: 4.234 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.4201, allocations: 8 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4201, allocations: 7.984 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4201, allocations: 320 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4201, allocations: 0 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4202, allocations: 136.6 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4202, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.4202, allocations: 7.984 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4203, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4203, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4203, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4203, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4204, allocations: 85 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.4204, allocations: 4 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4204, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.4204, allocations: 3.984 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.4205, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4205, allocations: 8 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.4205, allocations: 79.28 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4205, allocations: 0 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002256/0.4208, allocations: 19.98 kB / 1.368 GB, free: 8.969 MB / 1.061 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.0005252/0.4213, allocations: 0.624 MB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4215, allocations: 133.1 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4215, allocations: 0 / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.4216, allocations: 19.92 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4218, allocations: 15.86 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.4236, allocations: 1.501 MB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.4236, allocations: 67.34 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.4236, allocations: 192 / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.4237, allocations: 23.42 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of SimCode: time 9.92e-07/0.4237, allocations: 0 / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.4561, allocations: 2.604 MB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.89, allocations: 1.062 kB / 1.373 GB, free: 3.953 MB / 1.061 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable booRep.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.241626006085426]