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.001779/0.001779, allocations: 105.2 kB / 16.45 MB, free: 6.512 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.002148/0.002148, allocations: 205.7 kB / 19.42 MB, free: 3.645 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.61/1.61, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.521/3.521, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002141/0.002141, allocations: 69.06 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3753, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0018/0.3771, allocations: 0.6258 MB / 1.348 GB, free: 9.324 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3786, allocations: 1.144 MB / 1.349 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.3786, allocations: 4 kB / 1.349 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.653e-05/0.3787, allocations: 3.938 kB / 1.349 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.392e-05/0.3788, allocations: 4 kB / 1.349 GB, free: 8.156 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.3792, allocations: 126.6 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3794, allocations: 99.75 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.3794, allocations: 3.938 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.3795, allocations: 39.97 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3796, allocations: 31.89 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3796, allocations: 8 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.3797, allocations: 19.98 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3798, allocations: 7.984 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.3798, allocations: 35.86 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.38, allocations: 83.78 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.38, allocations: 3.984 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.38, allocations: 8 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.38, allocations: 0 / 1.35 GB, free: 7.699 MB / 1.045 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.0004826/0.3805, allocations: 381 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3805, allocations: 11.98 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3806, allocations: 30.75 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3806, allocations: 12.89 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3808, allocations: 180.3 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3808, allocations: 4.375 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3808, allocations: 8.375 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3809, allocations: 50.19 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.381, allocations: 3.938 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.381, allocations: 0 / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.381, allocations: 4 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.381, allocations: 11.98 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3814, allocations: 316.7 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.3814, allocations: 18.58 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.3814, allocations: 8.859 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.3814, allocations: 0 / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.3816, allocations: 63.39 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3816, allocations: 0 / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001761/0.3817, allocations: 61.67 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3818, allocations: 63.33 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.3819, allocations: 109.8 kB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3819, allocations: 33.7 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.382, allocations: 84.14 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.382, allocations: 3.953 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.382, allocations: 33.7 kB / 1.351 GB, free: 6.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3822, allocations: 322.8 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.3823, allocations: 23.98 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3824, allocations: 54.5 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3825, allocations: 80.27 kB / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3825, allocations: 0 / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002706/0.3827, allocations: 147.2 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.3828, allocations: 37.7 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3828, allocations: 3.984 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3828, allocations: 0 / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/0.3828, allocations: 3.938 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3828, allocations: 8.094 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.383, allocations: 27.91 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.383, allocations: 4 kB / 1.352 GB, free: 5.258 MB / 1.045 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.0001031/0.3832, allocations: 121.8 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.3832, allocations: 4 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3832, allocations: 3.906 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3832, allocations: 0 / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3832, allocations: 4 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3832, allocations: 0 / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3833, allocations: 169.6 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3833, allocations: 0 / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-06/0.3833, allocations: 4 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3833, allocations: 0 / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3833, allocations: 0 / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3833, allocations: 4.25 kB / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3834, allocations: 0 / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3835, allocations: 88.95 kB / 1.352 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3835, allocations: 89.09 kB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3835, allocations: 0 / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.3835, allocations: 0 / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3836, allocations: 7.938 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3836, allocations: 0 / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.3836, allocations: 87.27 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3836, allocations: 0 / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002169/0.3838, allocations: 16 kB / 1.353 GB, free: 4.562 MB / 1.045 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.0004675/0.3843, allocations: 0.6283 MB / 1.353 GB, free: 3.906 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3845, allocations: 107.4 kB / 1.353 GB, free: 3.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3845, allocations: 0 / 1.353 GB, free: 3.789 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.3845, allocations: 11.98 kB / 1.353 GB, free: 3.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.3847, allocations: 12.17 kB / 1.353 GB, free: 3.766 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3863, allocations: 1.377 MB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3866, allocations: 0.6807 MB / 1.355 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.3866, allocations: 0 / 1.355 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.3866, allocations: 15.44 kB / 1.355 GB, free: 1.57 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3866, allocations: 4 kB / 1.355 GB, free: 1.566 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.4111, allocations: 2.012 MB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.775, allocations: 5.359 kB / 1.357 GB, free: 15.7 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.106149503029883]