Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001309/0.001309, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001487/0.001487, allocations: 217 kB / 22.25 MB, free: 5.082 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_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.002127/0.002127, allocations: 72.7 kB / 1.117 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3795, allocations: 169.9 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00197/0.3815, allocations: 0.6273 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3831, allocations: 1.153 MB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3832, allocations: 0 / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.3833, allocations: 3.938 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.3833, allocations: 3.938 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3838, allocations: 130.4 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.384, allocations: 83.89 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.3841, allocations: 7.984 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.3841, allocations: 39.91 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3843, allocations: 27.95 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3843, allocations: 8 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.3844, allocations: 23.98 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.3844, allocations: 11.94 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.3845, allocations: 31.91 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3847, allocations: 99.72 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3847, allocations: 0 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3847, allocations: 3.938 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3847, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 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.000556/0.3853, allocations: 308.2 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3853, allocations: 12.03 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3853, allocations: 34.75 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3854, allocations: 12.83 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3856, allocations: 122.5 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3856, allocations: 4.375 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3856, allocations: 12.38 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3857, allocations: 42.25 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3858, allocations: 7.875 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3858, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3858, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.3858, allocations: 15.98 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3862, allocations: 275.9 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.3863, allocations: 22.52 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.3863, allocations: 8.922 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3863, allocations: 0 / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.3865, allocations: 55.39 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3865, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002054/0.3867, allocations: 61.62 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3868, allocations: 55.41 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3869, allocations: 109.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.3869, allocations: 29.7 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.387, allocations: 88.09 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.387, allocations: 11.94 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.387, allocations: 29.7 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3872, allocations: 314.8 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.3873, allocations: 27.98 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.608e-05/0.3873, allocations: 50.56 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.3875, allocations: 88.19 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3875, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002549/0.3877, allocations: 147.5 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.3878, allocations: 37.7 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3878, allocations: 96 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3878, allocations: 8 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.75e-05/0.3878, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3878, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.388, allocations: 32.17 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.388, allocations: 11.98 kB / 1.288 GB, free: 7.262 MB / 0.9825 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.0001258/0.3882, allocations: 125.7 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.3882, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.3882, allocations: 19.94 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3882, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3882, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3882, allocations: 3.984 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3884, allocations: 136.7 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3884, allocations: 0 / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.3884, allocations: 3.938 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3884, allocations: 4 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3884, allocations: 3.984 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.3885, allocations: 81.06 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.3885, allocations: 7.953 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3885, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.3886, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.3886, allocations: 3.984 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3886, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.3887, allocations: 83.28 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002134/0.3889, allocations: 16 kB / 1.288 GB, free: 6.699 MB / 0.9825 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.0005045/0.3894, allocations: 0.622 MB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3896, allocations: 107.3 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3896, allocations: 192 / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.3896, allocations: 15.98 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3898, allocations: 7.609 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3914, allocations: 1.373 MB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3917, allocations: 0.6807 MB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.3917, allocations: 8 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.3918, allocations: 15.42 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3918, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.423, allocations: 2.093 MB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.14, allocations: 10.81 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.089623306999783]