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.001541/0.001541, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001867/0.001867, allocations: 220 kB / 22.24 MB, free: 5.109 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.789 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.877/2.877, allocations: 475.9 MB / 0.7699 GB, free: 4.762 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: 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.002175/0.002175, allocations: 69.08 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3865, allocations: 169.9 MB / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002024/0.3885, allocations: 0.6091 MB / 1.284 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3902, allocations: 1.141 MB / 1.285 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.3902, allocations: 0 / 1.285 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.3903, allocations: 7.938 kB / 1.285 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.3903, allocations: 3.938 kB / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.3909, allocations: 121.4 kB / 1.285 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3911, allocations: 91.83 kB / 1.285 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.3912, allocations: 11.92 kB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.3913, allocations: 31.97 kB / 1.285 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3914, allocations: 27.91 kB / 1.285 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3914, allocations: 12 kB / 1.285 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.3915, allocations: 23.97 kB / 1.285 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.3915, allocations: 11.92 kB / 1.285 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.3916, allocations: 23.98 kB / 1.285 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3918, allocations: 99.66 kB / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3918, allocations: 0 / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3918, allocations: 0 / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3918, allocations: 0 / 1.285 GB, free: 1.492 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.000519/0.3923, allocations: 303.9 kB / 1.285 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3924, allocations: 8.031 kB / 1.285 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3924, allocations: 4.938 kB / 1.285 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3926, allocations: 134.5 kB / 1.286 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3926, allocations: 4.375 kB / 1.286 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3927, allocations: 4.375 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3928, allocations: 42.25 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3928, allocations: 4.188 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3928, allocations: 7.938 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3928, allocations: 0 / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.3928, allocations: 15.92 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.3932, allocations: 228.6 kB / 1.286 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.3933, allocations: 22.52 kB / 1.286 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.3933, allocations: 12.86 kB / 1.286 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3933, allocations: 7.922 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3935, allocations: 59.41 kB / 1.286 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.3935, allocations: 0 / 1.286 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002762/0.3938, allocations: 61.69 kB / 1.286 GB, free: 472 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3939, allocations: 51.41 kB / 1.286 GB, free: 408 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.394, allocations: 113.8 kB / 1.286 GB, free: 284 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3941, allocations: 29.7 kB / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.3942, allocations: 92.08 kB / 1.286 GB, free: 152 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.3942, allocations: 11.94 kB / 1.286 GB, free: 140 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.3943, allocations: 37.64 kB / 1.286 GB, free: 96 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3944, allocations: 310.8 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3946, allocations: 57.69 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3947, allocations: 80.25 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3948, allocations: 88.14 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3948, allocations: 0 / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003208/0.3951, allocations: 176.9 kB / 1.287 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.3952, allocations: 44.03 kB / 1.287 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3952, allocations: 4.094 kB / 1.287 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.3953, allocations: 0 / 1.287 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.3953, allocations: 0 / 1.287 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3953, allocations: 4 kB / 1.287 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.3955, allocations: 28.22 kB / 1.287 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3956, allocations: 7.984 kB / 1.287 GB, free: 15.24 MB / 0.9981 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.0001374/0.3957, allocations: 117.8 kB / 1.287 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.3957, allocations: 11.95 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3958, allocations: 8 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3958, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3958, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3958, allocations: 0 / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3959, allocations: 113.2 kB / 1.287 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3959, allocations: 0 / 1.287 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.3959, allocations: 7.984 kB / 1.287 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3959, allocations: 0 / 1.287 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3959, allocations: 4 kB / 1.287 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3959, allocations: 3.938 kB / 1.287 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3959, allocations: 0 / 1.287 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3961, allocations: 85.06 kB / 1.287 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.3961, allocations: 3.953 kB / 1.287 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3961, allocations: 0 / 1.287 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.3961, allocations: 3.984 kB / 1.287 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3962, allocations: 4 kB / 1.287 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3962, allocations: 288 / 1.287 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.3962, allocations: 83.28 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3962, allocations: 0 / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002296/0.3965, allocations: 19.98 kB / 1.288 GB, free: 14.72 MB / 0.9981 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.000177/0.3966, allocations: 103.2 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.3969, allocations: 145 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3969, allocations: 0 / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.397, allocations: 11.98 kB / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3972, allocations: 11.94 kB / 1.288 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.3977, allocations: 134 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.488e-05/0.3977, allocations: 63.34 kB / 1.288 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3978, allocations: 4 kB / 1.288 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.3978, allocations: 15.56 kB / 1.288 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.3978, allocations: 0 / 1.288 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.005277/0.4031, allocations: 1.178 MB / 1.289 GB, free: 13.02 MB / 0.9981 GB " [Timeout remaining time 300] 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/jenkins/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: 9.42757110670209]