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.001612/0.001612, allocations: 114.3 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.002138/0.002138, allocations: 214.9 kB / 22.25 MB, free: 5.078 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.027 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.326/3.326, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002076/0.002076, allocations: 66.19 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002138/0.3694, allocations: 0.6396 MB / 1.353 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3715, allocations: 1.144 MB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.3715, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3717, allocations: 0 / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.3717, allocations: 15.86 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.3723, allocations: 122.1 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3726, allocations: 91.83 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.3727, allocations: 7.984 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.3727, allocations: 43.91 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3729, allocations: 31.89 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.3729, allocations: 8 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.373, allocations: 19.98 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.373, allocations: 7.984 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.3731, allocations: 35.86 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3733, allocations: 83.78 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.203 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.0005642/0.3739, allocations: 315.9 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3739, allocations: 8.031 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.374, allocations: 34.75 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.374, allocations: 8.891 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3742, allocations: 126.5 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3743, allocations: 4.375 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3743, allocations: 4.375 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3744, allocations: 46.25 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3744, allocations: 3.938 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3744, allocations: 8 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3744, allocations: 0 / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.3745, allocations: 8 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.3749, allocations: 275.8 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.375, allocations: 26.56 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.375, allocations: 4.859 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3751, allocations: 0 / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3753, allocations: 63.45 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3753, allocations: 0 / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.3755, allocations: 61.62 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3756, allocations: 55.41 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3757, allocations: 113.7 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3757, allocations: 25.7 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.3758, allocations: 92.12 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.3758, allocations: 7.953 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.3759, allocations: 33.69 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.376, allocations: 322.8 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3761, allocations: 27.98 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.3762, allocations: 50.75 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3763, allocations: 84.27 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3763, allocations: 4 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002604/0.3766, allocations: 147.2 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.3766, allocations: 41.69 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3767, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3767, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.3767, allocations: 4.234 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3767, allocations: 0 / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3769, allocations: 32 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3769, allocations: 7.984 kB / 1.357 GB, free: 3.957 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.0001086/0.377, allocations: 126.3 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.377, allocations: 7.984 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.3771, allocations: 4 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3771, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3771, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3771, allocations: 4 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.3772, allocations: 144.7 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3772, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3774, allocations: 92.94 kB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.3774, allocations: 0 / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3774, allocations: 4 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.546e-05/0.3774, allocations: 4 kB / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.3774, allocations: 0 / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3774, allocations: 7.922 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.3775, allocations: 83.28 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 4 kB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002106/0.3777, allocations: 12 kB / 1.357 GB, free: 3.398 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.0005448/0.3783, allocations: 0.6204 MB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.3785, allocations: 107.3 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3785, allocations: 0 / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.3785, allocations: 15.98 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3788, allocations: 13.66 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3804, allocations: 1.386 MB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3807, allocations: 0.6807 MB / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3807, allocations: 4 kB / 1.36 GB, free: 416 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3808, allocations: 15.42 kB / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/0.3808, allocations: 0 / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.4114, allocations: 2.105 MB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.2, allocations: 2.25 kB / 1.362 GB, free: 14.44 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.25547678000021]