Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001708/0.001708, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.526/1.526, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_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.002062/0.002062, allocations: 74.77 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3803, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001924/0.3823, allocations: 0.6131 MB / 1.326 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3839, allocations: 1.14 MB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.3839, allocations: 4 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.384, allocations: 3.984 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.941e-05/0.384, allocations: 7.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.3846, allocations: 127.5 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3848, allocations: 87.88 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.3848, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.3849, allocations: 39.86 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.385, allocations: 35.88 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3851, allocations: 8 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.3851, allocations: 23.98 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.3852, allocations: 4 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.3853, allocations: 35.91 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.3855, allocations: 83.78 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3855, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3855, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3855, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 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.0005705/0.386, allocations: 307.9 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3861, allocations: 8.031 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.3861, allocations: 30.75 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3862, allocations: 8.891 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3864, allocations: 142.4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3864, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3864, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3866, allocations: 46.25 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3866, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3866, allocations: 7.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3866, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.3866, allocations: 11.98 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3871, allocations: 263.9 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.3871, allocations: 18.58 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.3871, allocations: 12.86 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.3871, allocations: 4.062 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.3873, allocations: 55.39 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.3873, allocations: 0 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002122/0.3875, allocations: 65.62 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3876, allocations: 51.41 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3877, allocations: 109.8 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3877, allocations: 29.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.3878, allocations: 92.12 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.3878, allocations: 3.953 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.3879, allocations: 37.64 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3881, allocations: 318.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.3882, allocations: 61.67 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3883, allocations: 76.27 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3884, allocations: 80.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3884, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002776/0.3887, allocations: 173 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.3887, allocations: 39.56 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3887, allocations: 4.094 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3887, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.64e-05/0.3888, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3888, allocations: 7.984 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.389, allocations: 35.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.389, allocations: 7.984 kB / 1.329 GB, free: 13.82 MB / 1.029 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.0001063/0.3891, allocations: 120.9 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.3891, allocations: 4 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.3891, allocations: 12 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3891, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3892, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3892, allocations: 8.219 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3893, allocations: 136.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3893, allocations: 4.25 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-06/0.3893, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3893, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3893, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3894, allocations: 89 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.3895, allocations: 11.94 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3895, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.3895, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.3895, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3895, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.3896, allocations: 83.27 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3896, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002082/0.3898, allocations: 16 kB / 1.33 GB, free: 13.25 MB / 1.029 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.000487/0.3903, allocations: 0.6163 MB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3905, allocations: 141 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3905, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.3905, allocations: 11.98 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.3907, allocations: 11.94 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3924, allocations: 1.505 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.761e-05/0.3924, allocations: 63.34 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.3925, allocations: 12.17 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.3925, allocations: 11.44 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3925, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.4231, allocations: 2.608 MB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 4.766 kB / 1.335 GB, free: 8.23 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.u from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! Error: Could not read variable booRep.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv. Warning: Get data of variable booRep.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.893609407823533]