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.001285/0.001285, 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.001644/0.001644, allocations: 213.4 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.26/3.26, 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.002116/0.002116, allocations: 65.17 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002045/0.3593, allocations: 0.6338 MB / 1.326 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3609, allocations: 1.14 MB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.361, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.966e-05/0.3611, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.3611, allocations: 7.922 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.3616, allocations: 126.2 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3618, allocations: 83.89 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.3619, allocations: 7.984 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.3619, allocations: 39.84 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3621, allocations: 31.89 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3621, allocations: 12 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.3622, allocations: 16 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.3622, allocations: 11.98 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3623, allocations: 27.91 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3625, allocations: 87.78 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3625, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3625, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3625, 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.000471/0.3629, allocations: 303.9 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.363, allocations: 12.03 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.363, allocations: 38.73 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3631, allocations: 12.89 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3632, allocations: 118.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3633, allocations: 4.312 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3633, allocations: 12.31 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3634, allocations: 50.23 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3634, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3634, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3634, allocations: 3.984 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.3635, allocations: 12 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3638, allocations: 263.9 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.628e-05/0.3639, allocations: 18.58 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.3639, allocations: 8.922 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3639, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3641, allocations: 59.39 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3641, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001893/0.3643, allocations: 65.61 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3643, allocations: 59.34 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3644, allocations: 113.8 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3645, allocations: 25.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.3645, allocations: 84.14 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.3645, allocations: 19.94 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.3646, allocations: 29.7 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3647, allocations: 318.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.3648, allocations: 57.69 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.365, allocations: 80.56 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3651, allocations: 80.22 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3651, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002871/0.3654, allocations: 177 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.3654, allocations: 37.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3654, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3654, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.781e-05/0.3654, allocations: 3.984 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3654, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3656, allocations: 31.86 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3657, allocations: 8 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.0001057/0.3658, allocations: 122.2 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.3658, allocations: 7.984 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3658, allocations: 8 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3658, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3658, allocations: 3.938 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3658, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3659, allocations: 132.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3659, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-06/0.3659, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.366, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.366, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.366, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.366, allocations: 7.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.3661, allocations: 81.3 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.3661, allocations: 7.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3661, allocations: 3.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.3661, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.3661, allocations: 3.984 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3661, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.3662, allocations: 83.28 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002123/0.3664, allocations: 12 kB / 1.33 GB, free: 13.26 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.0004726/0.3669, allocations: 0.6243 MB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.3671, allocations: 141 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3671, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.3672, allocations: 8 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.3674, allocations: 21.86 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.001714/0.3691, allocations: 1.501 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.3692, allocations: 71.53 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.3692, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.3692, allocations: 15.44 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3692, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.4006, allocations: 2.617 MB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 2.641 kB / 1.335 GB, free: 8.234 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.584070943295956]