Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00167/0.00167, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.003269/0.003269, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.394/3.394, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002039/0.002039, allocations: 80.39 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 176.1 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002319/0.3542, allocations: 0.9535 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3563, allocations: 1.358 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.3563, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.3565, allocations: 19.73 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3566, allocations: 47.64 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.3575, allocations: 278.2 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.358, allocations: 383.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3582, allocations: 49.72 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.3584, allocations: 155.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3586, allocations: 131.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.3587, allocations: 32 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3588, allocations: 59.91 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3589, allocations: 55.83 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3591, allocations: 111.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.3596, allocations: 414.5 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3596, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3596, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.3596, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001106/0.3607, allocations: 0.5511 MB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3608, allocations: 12.03 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.3611, allocations: 64.75 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.3621, allocations: 309.1 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3622, allocations: 12.38 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.3622, allocations: 20.38 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3627, allocations: 206.3 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3627, allocations: 7.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.3628, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3628, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.3633, allocations: 139.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3645, allocations: 0.7937 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.3649, allocations: 149 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.3652, allocations: 84.3 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3652, allocations: 7.938 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.3658, allocations: 167.5 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.3658, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0009585/0.3667, allocations: 261.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3669, allocations: 158.6 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.3671, allocations: 225 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.3672, allocations: 33.7 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3673, allocations: 156.3 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.3674, allocations: 31.78 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3675, allocations: 49.69 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3677, allocations: 334.8 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.3681, allocations: 167.3 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3685, allocations: 292.1 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.3692, allocations: 274.9 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3692, allocations: 3.938 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009955/0.3702, allocations: 444.6 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.3703, allocations: 65.58 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3703, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3703, allocations: 4 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3705, allocations: 31.91 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3705, allocations: 0 / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.3709, allocations: 83.89 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3709, allocations: 12 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0002173/0.3712, allocations: 158.3 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3712, allocations: 15.91 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.3713, allocations: 25.33 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3713, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3713, allocations: 12 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3713, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3715, allocations: 185.1 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3715, allocations: 7.938 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3717, allocations: 23.97 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3717, allocations: 4 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3717, allocations: 0 / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3717, allocations: 4 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3717, allocations: 0 / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.3723, allocations: 248.2 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.3724, allocations: 19.8 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3724, allocations: 8 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3725, allocations: 15.97 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.3726, allocations: 19.98 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3726, allocations: 7.984 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001666/0.3728, allocations: 164.5 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3728, allocations: 0 / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000309/0.3731, allocations: 51.89 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001795/0.3733, allocations: 105.5 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008464/0.3741, allocations: 385.9 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3741, allocations: 0 / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3744, allocations: 71.88 kB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.3748, allocations: 58.66 kB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.3755, allocations: 383.4 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3757, allocations: 136.8 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.3758, allocations: 33.62 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.3758, allocations: 19.44 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.3758, allocations: 0 / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of Templates: time 0.008012/0.3839, allocations: 3.56 MB / 1.341 GB, free: 1.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.568642476995592]