Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001772/0.001772, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.002007/0.002007, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.485/1.485, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.672/2.672, allocations: 443.5 MB / 0.7293 GB, free: 14.68 MB / 0.5763 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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 75.89 kB / 1.057 GB, free: 2.109 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 160.7 MB / 1.214 GB, free: 1.086 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002877/0.3179, allocations: 1.35 MB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.3202, allocations: 1.565 MB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.3204, allocations: 7.938 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.3205, allocations: 39.53 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3207, allocations: 67.44 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.322, allocations: 0.5017 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008758/0.3229, allocations: 0.6481 MB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.3232, allocations: 140.9 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.3236, allocations: 247.4 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.324, allocations: 243.1 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3241, allocations: 64 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.3243, allocations: 83.92 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3244, allocations: 83.69 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.3247, allocations: 250.9 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.3255, allocations: 0.6734 MB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3255, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3255, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.3255, allocations: 0 / 1.22 GB, free: 11.12 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001484/0.327, allocations: 0.958 MB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.327, allocations: 12.03 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3272, allocations: 56.64 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.3285, allocations: 476 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.3285, allocations: 32.92 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.3286, allocations: 40.38 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.3293, allocations: 321.3 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3293, allocations: 3.938 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.3293, allocations: 8 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3294, allocations: 11.98 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006739/0.33, allocations: 246.1 kB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.3316, allocations: 0.9122 MB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.3323, allocations: 354.6 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.3328, allocations: 264.6 kB / 1.223 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3328, allocations: 4 kB / 1.223 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/0.3334, allocations: 319 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.3335, allocations: 0 / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.001667/0.3351, allocations: 0.8345 MB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.3353, allocations: 199.9 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3356, allocations: 288.5 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.3357, allocations: 45.69 kB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3358, allocations: 168.9 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.336, allocations: 142.8 kB / 1.225 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.3362, allocations: 130.1 kB / 1.225 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3364, allocations: 346.8 kB / 1.226 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.337, allocations: 276.8 kB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.3377, allocations: 361.8 kB / 1.226 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3391, allocations: 0.9051 MB / 1.227 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3391, allocations: 7.938 kB / 1.227 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001817/0.3409, allocations: 0.9939 MB / 1.228 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.3411, allocations: 263.3 kB / 1.229 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3411, allocations: 8 kB / 1.229 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3411, allocations: 8.281 kB / 1.229 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3414, allocations: 63.89 kB / 1.229 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3414, allocations: 7.938 kB / 1.229 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.3422, allocations: 147.6 kB / 1.229 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3423, allocations: 63.92 kB / 1.229 GB, free: 1.34 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003366/0.3426, allocations: 318.2 kB / 1.229 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3427, allocations: 35.77 kB / 1.229 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.802e-05/0.3428, allocations: 51.36 kB / 1.229 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3428, allocations: 4 kB / 1.229 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.3428, allocations: 0 / 1.229 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3428, allocations: 7.984 kB / 1.229 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.3447, allocations: 1.191 MB / 1.23 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3447, allocations: 0 / 1.23 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.345, allocations: 67.88 kB / 1.23 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.345, allocations: 4 kB / 1.23 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.345, allocations: 11.98 kB / 1.23 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.345, allocations: 4 kB / 1.23 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.345, allocations: 3.938 kB / 1.23 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3463, allocations: 0.7706 MB / 1.231 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.3464, allocations: 112.8 kB / 1.231 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.3464, allocations: 15.98 kB / 1.231 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3467, allocations: 31.97 kB / 1.231 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.3468, allocations: 35.89 kB / 1.231 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/0.3469, allocations: 47.89 kB / 1.231 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002338/0.3471, allocations: 203.1 kB / 1.232 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3471, allocations: 0 / 1.232 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005065/0.3476, allocations: 107.9 kB / 1.232 GB, free: 14.14 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: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002224/0.3478, allocations: 130.7 kB / 1.232 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.3495, allocations: 1.031 MB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3495, allocations: 4.188 kB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.3502, allocations: 0.4967 MB / 1.233 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.3508, allocations: 90.44 kB / 1.233 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3523, allocations: 0.8418 MB / 1.234 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.3527, allocations: 0.7885 MB / 1.235 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.3529, allocations: 39.44 kB / 1.235 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.3529, allocations: 0 / 1.235 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.009888/0.3627, allocations: 5.634 MB / 1.241 GB, free: 4.875 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.354902820894495]