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.002/0.002, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002791/0.002791, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.924/2.924, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.524e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002486/0.002521, allocations: 0.9711 MB / 0.8118 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.004958, allocations: 1.355 MB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005097, allocations: 0.9062 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.005256, allocations: 27.73 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.005419, allocations: 44.25 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.006397, allocations: 273.4 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007024/0.007099, allocations: 383.2 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.007282, allocations: 45.77 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.007716, allocations: 213 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.007971, allocations: 115.7 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.008094, allocations: 32 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.008238, allocations: 47.98 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.008345, allocations: 61.3 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.008519, allocations: 103.8 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.009173, allocations: 438.7 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.009177, allocations: 1.875 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.773e-06/0.009178, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.009193, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 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.001345/0.01054, allocations: 0.5447 MB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.01058, allocations: 11.97 kB / 0.8153 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.01107, allocations: 88.7 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.01214, allocations: 317.1 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.01218, allocations: 16.31 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.01224, allocations: 24.36 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.01277, allocations: 202.9 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01278, allocations: 192 / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.0128, allocations: 5.094 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01282, allocations: 8.125 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.01336, allocations: 142.8 kB / 0.8161 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.01466, allocations: 0.7796 MB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.01507, allocations: 155 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.01532, allocations: 74.59 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.01534, allocations: 4 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.01586, allocations: 174.7 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.01586, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001015/0.01687, allocations: 264.7 kB / 0.8175 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.017, allocations: 162.2 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.0173, allocations: 225.7 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.01736, allocations: 33.7 kB / 0.8179 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.01752, allocations: 149.2 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.01757, allocations: 39.72 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.01771, allocations: 54.19 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.01793, allocations: 327.4 kB / 0.8184 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.01835, allocations: 165.2 kB / 0.8186 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.01885, allocations: 288.8 kB / 0.8189 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.01951, allocations: 280.6 kB / 0.8191 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.01952, allocations: 4 kB / 0.8191 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00108/0.0206, allocations: 455 kB / 0.8196 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.02067, allocations: 66.2 kB / 0.8196 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02068, allocations: 0 / 0.8196 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.0207, allocations: 5.031 kB / 0.8196 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.02089, allocations: 28.97 kB / 0.8197 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.02089, allocations: 0 / 0.8197 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.02134, allocations: 78.05 kB / 0.8198 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.02137, allocations: 12 kB / 0.8198 GB, free: 8.508 MB / 0.7761 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.0001933/0.02157, allocations: 158.7 kB / 0.8199 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.02162, allocations: 29.27 kB / 0.8199 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.0217, allocations: 25.33 kB / 0.82 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.0217, allocations: 0 / 0.82 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.02171, allocations: 4 kB / 0.82 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02171, allocations: 0.5312 kB / 0.82 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.02196, allocations: 178 kB / 0.8201 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02197, allocations: 4 kB / 0.8201 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.02212, allocations: 29.02 kB / 0.8202 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.02212, allocations: 3.984 kB / 0.8202 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02214, allocations: 11.84 kB / 0.8202 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.02214, allocations: 0 / 0.8202 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.02215, allocations: 4 kB / 0.8202 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.02279, allocations: 240.2 kB / 0.8204 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.02284, allocations: 24.45 kB / 0.8204 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.02287, allocations: 12.53 kB / 0.8205 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.02301, allocations: 20.59 kB / 0.8205 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.02316, allocations: 15.98 kB / 0.8205 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.02318, allocations: 7.984 kB / 0.8205 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001838/0.02336, allocations: 161.2 kB / 0.8207 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02336, allocations: 0 / 0.8207 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003465/0.02371, allocations: 55.88 kB / 0.8207 GB, free: 7.477 MB / 0.7761 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.0002064/0.02391, allocations: 103.2 kB / 0.8208 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009005/0.02481, allocations: 382 kB / 0.8212 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.02482, allocations: 7.938 kB / 0.8212 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.02511, allocations: 68.5 kB / 0.8212 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.0255, allocations: 66.73 kB / 0.8213 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.02637, allocations: 388.7 kB / 0.8217 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.02655, allocations: 136.8 kB / 0.8218 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000132/0.02668, allocations: 29.62 kB / 0.8218 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.02674, allocations: 24.5 kB / 0.8219 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.02674, allocations: 3.938 kB / 0.8219 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.01111/0.03785, allocations: 3.335 MB / 0.8251 GB, free: 2.949 MB / 0.7761 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 -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/jenkins/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: 8.042738385032862]