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.001292/0.001292, allocations: 107.6 kB / 17.07 MB, free: 6.082 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.001357/0.001357, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.199 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.673/2.673, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 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.002006/0.002006, allocations: 71.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002526/0.3189, allocations: 1.352 MB / 1.177 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.321, allocations: 1.553 MB / 1.179 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3211, allocations: 4 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.3213, allocations: 39.53 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.3214, allocations: 59.44 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3227, allocations: 0.4932 MB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.3235, allocations: 0.6911 MB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.3238, allocations: 164.9 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.3242, allocations: 251.3 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.3245, allocations: 247.1 kB / 1.181 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3246, allocations: 64 kB / 1.181 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3248, allocations: 83.92 kB / 1.181 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3249, allocations: 79.7 kB / 1.181 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.3252, allocations: 246.9 kB / 1.181 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.3261, allocations: 0.6773 MB / 1.182 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3261, allocations: 4 kB / 1.182 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3261, allocations: 0 / 1.182 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3261, allocations: 0 / 1.182 GB, free: 15.93 MB / 0.9356 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.00152/0.3276, allocations: 0.9618 MB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3277, allocations: 8.031 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3278, allocations: 52.66 kB / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3292, allocations: 480 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.3292, allocations: 24.94 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.3293, allocations: 40.38 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.33, allocations: 325.3 kB / 1.184 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.33, allocations: 3.938 kB / 1.184 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.33, allocations: 12 kB / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.33, allocations: 4 kB / 1.184 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.3307, allocations: 258 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.3323, allocations: 0.9122 MB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.333, allocations: 374.5 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.3335, allocations: 288.7 kB / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3335, allocations: 4 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.3341, allocations: 327 kB / 1.186 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.3341, allocations: 0 / 1.186 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001627/0.3358, allocations: 0.8384 MB / 1.186 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3359, allocations: 191.9 kB / 1.187 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3362, allocations: 292.5 kB / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.3363, allocations: 41.69 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.3364, allocations: 165 kB / 1.187 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.3366, allocations: 138.8 kB / 1.187 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.3368, allocations: 138.1 kB / 1.187 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.337, allocations: 346.8 kB / 1.188 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.3376, allocations: 276.8 kB / 1.188 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.3383, allocations: 365.8 kB / 1.188 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.3396, allocations: 0.8973 MB / 1.189 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3396, allocations: 7.938 kB / 1.189 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001699/0.3413, allocations: 0.9902 MB / 1.19 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.3415, allocations: 267.3 kB / 1.19 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3415, allocations: 0 / 1.19 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3415, allocations: 11.94 kB / 1.19 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3418, allocations: 59.89 kB / 1.19 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3418, allocations: 11.94 kB / 1.19 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.3426, allocations: 147.6 kB / 1.191 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.3427, allocations: 63.92 kB / 1.191 GB, free: 6.109 MB / 0.9356 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.0003012/0.343, allocations: 326.1 kB / 1.191 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.3431, allocations: 39.77 kB / 1.191 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/0.3431, allocations: 43.48 kB / 1.191 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3432, allocations: 8 kB / 1.191 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3432, allocations: 0 / 1.191 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3432, allocations: 7.969 kB / 1.191 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.345, allocations: 1.187 MB / 1.192 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.345, allocations: 4 kB / 1.192 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3453, allocations: 59.89 kB / 1.192 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3453, allocations: 4 kB / 1.192 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.3453, allocations: 11.98 kB / 1.192 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3453, allocations: 8 kB / 1.192 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3453, allocations: 3.938 kB / 1.192 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3465, allocations: 0.7628 MB / 1.193 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.3466, allocations: 120.8 kB / 1.193 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.3467, allocations: 8 kB / 1.193 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3469, allocations: 23.97 kB / 1.193 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.347, allocations: 43.83 kB / 1.193 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.3471, allocations: 51.88 kB / 1.193 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001989/0.3473, allocations: 199.1 kB / 1.194 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3473, allocations: 0 / 1.194 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004003/0.3477, allocations: 115.9 kB / 1.194 GB, free: 2.902 MB / 0.9356 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.0001796/0.3479, allocations: 119.9 kB / 1.194 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.3495, allocations: 1.113 MB / 1.195 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3495, allocations: 0 / 1.195 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.3502, allocations: 0.5164 MB / 1.195 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.3507, allocations: 90.91 kB / 1.195 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.352, allocations: 0.8443 MB / 1.196 GB, free: 12 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3525, allocations: 0.7924 MB / 1.197 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.3526, allocations: 35.44 kB / 1.197 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.3526, allocations: 3.938 kB / 1.197 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.008789/0.3614, allocations: 5.618 MB / 1.203 GB, free: 9.562 MB / 0.9512 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: 10.920843439991586]