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.00159/0.00159, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001556/0.001556, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.915/2.915, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [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.002035/0.002035, allocations: 64.42 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2902, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001799/0.292, allocations: 0.6237 MB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2935, allocations: 1.153 MB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.2935, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.527e-05/0.2936, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.2936, allocations: 19.92 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.2941, allocations: 120.2 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2943, allocations: 91.81 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.2944, allocations: 7.938 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.2944, allocations: 31.92 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2945, allocations: 43.88 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2945, allocations: 8 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.2946, allocations: 15.98 kB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.2947, allocations: 8 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.2947, allocations: 43.84 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2949, allocations: 87.78 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2949, allocations: 0 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2949, allocations: 0 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2949, allocations: 0 / 1.287 GB, free: 8.965 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.0004603/0.2954, allocations: 311.9 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2954, allocations: 8.031 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.2954, allocations: 8.891 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2956, allocations: 122.5 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2956, allocations: 12.31 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2956, allocations: 8.375 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2958, allocations: 46.25 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2958, allocations: 192 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2958, allocations: 3.938 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2958, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.2958, allocations: 15.98 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.2962, allocations: 287.8 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.2963, allocations: 18.58 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.2963, allocations: 8.922 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.2963, allocations: 0 / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.2964, allocations: 59.39 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2964, allocations: 3.938 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.2966, allocations: 61.62 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2967, allocations: 51.41 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2968, allocations: 113.8 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2968, allocations: 29.7 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2968, allocations: 88.09 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.2969, allocations: 11.94 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.2969, allocations: 29.7 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2971, allocations: 314.8 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.2971, allocations: 27.98 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.2972, allocations: 54.55 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2973, allocations: 80.22 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2973, allocations: 4 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000257/0.2976, allocations: 143.3 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.2976, allocations: 33.7 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2976, allocations: 4 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2977, allocations: 4.094 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.829e-05/0.2977, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2977, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2979, allocations: 35.86 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2979, allocations: 7.984 kB / 1.289 GB, free: 6.766 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.0001145/0.298, allocations: 121.7 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.298, allocations: 4 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.2981, allocations: 8 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2981, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2981, allocations: 3.984 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2981, allocations: 3.938 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.2982, allocations: 137 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2982, allocations: 0 / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.2982, allocations: 4 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2982, allocations: 4 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.2982, allocations: 3.984 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2982, allocations: 0 / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2982, allocations: 0 / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2983, allocations: 81.06 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.2983, allocations: 8.234 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2984, allocations: 7.875 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.2984, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.2984, allocations: 11.97 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2984, allocations: 0 / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.2985, allocations: 83.28 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2985, allocations: 4 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002081/0.2987, allocations: 16 kB / 1.289 GB, free: 6.199 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.0001366/0.2988, allocations: 103.2 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.299, allocations: 111.3 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.299, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.2991, allocations: 11.94 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.2993, allocations: 18.11 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.2996, allocations: 152 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2999, allocations: 0.6807 MB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.2999, allocations: 15.42 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.2999, allocations: 0 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of Templates: time 0.002623/0.3025, allocations: 0.9139 MB / 1.291 GB, free: 4.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.011157478991663]