Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002439/0.002439, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.89 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3904, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00214/0.3926, allocations: 0.6266 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3943, allocations: 1.125 MB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.3944, allocations: 0 / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3945, allocations: 3.984 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.3945, allocations: 11.88 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.3951, allocations: 126.2 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3953, allocations: 87.88 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.3953, allocations: 7.938 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.3954, allocations: 39.91 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3955, allocations: 43.81 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3956, allocations: 8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.3956, allocations: 19.98 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.3957, allocations: 8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.3958, allocations: 31.91 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3959, allocations: 83.78 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3959, allocations: 0 / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3959, allocations: 0 / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.396, allocations: 3.938 kB / 1.218 GB, free: 13.06 MB / 0.9669 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.0005731/0.3965, allocations: 385 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3966, allocations: 12.03 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3966, allocations: 8.891 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.3968, allocations: 180.3 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3968, allocations: 8.375 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3969, allocations: 4.375 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.397, allocations: 50.19 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.397, allocations: 192 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.397, allocations: 3.938 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.397, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.3971, allocations: 19.98 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3975, allocations: 304.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.3975, allocations: 22.52 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.3976, allocations: 4.859 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3976, allocations: 4.062 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.3977, allocations: 59.39 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3977, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002005/0.3979, allocations: 73.56 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.398, allocations: 51.41 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.3981, allocations: 109.8 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.3981, allocations: 25.7 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.3982, allocations: 84.14 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3982, allocations: 11.95 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.3983, allocations: 33.7 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3984, allocations: 318.8 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.3985, allocations: 27.98 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.3986, allocations: 46.56 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.3987, allocations: 88.14 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3987, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002489/0.399, allocations: 143.6 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.399, allocations: 45.62 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.399, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.399, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.032e-05/0.399, allocations: 8 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.399, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.3993, allocations: 28 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3993, allocations: 8 kB / 1.22 GB, free: 10.66 MB / 0.9669 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.0001072/0.3994, allocations: 129.8 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.3994, allocations: 3.938 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3994, allocations: 3.906 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3994, allocations: 0 / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3994, allocations: 4 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3994, allocations: 240 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3996, allocations: 169.6 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3996, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.3996, allocations: 7.984 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3996, allocations: 0 / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3996, allocations: 0 / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3996, allocations: 0 / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3996, allocations: 0 / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.3997, allocations: 89.02 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3998, allocations: 81.09 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3998, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.3998, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3998, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.3999, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.3999, allocations: 91.2 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3999, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002148/0.4001, allocations: 16 kB / 1.221 GB, free: 9.965 MB / 0.9669 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.0001783/0.4003, allocations: 99.25 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4005, allocations: 111.4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4005, allocations: 4.062 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.4006, allocations: 19.91 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4008, allocations: 4 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.4011, allocations: 142 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4014, allocations: 0.6884 MB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.4014, allocations: 4 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.4015, allocations: 11.44 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.4015, allocations: 0 / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of Templates: time 0.00378/0.4052, allocations: 1.069 MB / 1.223 GB, free: 7.762 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.691163012757897]