Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001305/0.001305, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001289/0.001289, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 71.88 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 173.6 MB / 1.305 GB, free: 33.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002911/1.214, allocations: 1.353 MB / 1.307 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002522/1.217, allocations: 1.555 MB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/1.217, allocations: 5.719 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/1.217, allocations: 34.22 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/1.217, allocations: 77.38 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.218, allocations: 0.4954 MB / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006402/1.219, allocations: 0.6484 MB / 1.31 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/1.219, allocations: 116.8 kB / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/1.22, allocations: 258.7 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/1.22, allocations: 243.4 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/1.22, allocations: 67.03 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/1.22, allocations: 80.23 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/1.22, allocations: 82.23 kB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/1.22, allocations: 252 kB / 1.311 GB, free: 30.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006067/1.221, allocations: 0.6819 MB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.221, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/1.221, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.221, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 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.001117/1.222, allocations: 0.9513 MB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.222, allocations: 8.844 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/1.222, allocations: 51.75 kB / 1.312 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.223, allocations: 479.1 kB / 1.313 GB, free: 28.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/1.223, allocations: 30.16 kB / 1.313 GB, free: 28.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/1.223, allocations: 39.94 kB / 1.313 GB, free: 28.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/1.224, allocations: 321.7 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.224, allocations: 3.938 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/1.224, allocations: 10.78 kB / 1.313 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.224, allocations: 5.812 kB / 1.313 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/1.225, allocations: 265.7 kB / 1.313 GB, free: 28.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/1.226, allocations: 0.9146 MB / 1.314 GB, free: 28.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/1.227, allocations: 355.8 kB / 1.315 GB, free: 28.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/1.227, allocations: 254.9 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/1.227, allocations: 2.5 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/1.228, allocations: 324 kB / 1.315 GB, free: 27.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.775e-06/1.228, allocations: 0 / 1.315 GB, free: 27.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001452/1.229, allocations: 0.8367 MB / 1.316 GB, free: 27.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.229, allocations: 187.8 kB / 1.316 GB, free: 27.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/1.229, allocations: 285.4 kB / 1.316 GB, free: 27.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/1.229, allocations: 45.16 kB / 1.316 GB, free: 27.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.23, allocations: 175.9 kB / 1.317 GB, free: 27.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/1.23, allocations: 130.9 kB / 1.317 GB, free: 26.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/1.23, allocations: 137.1 kB / 1.317 GB, free: 26.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/1.23, allocations: 346.1 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/1.231, allocations: 277 kB / 1.317 GB, free: 26.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/1.231, allocations: 360.4 kB / 1.318 GB, free: 26.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/1.232, allocations: 0.9092 MB / 1.319 GB, free: 25.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.232, allocations: 7.875 kB / 1.319 GB, free: 25.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001391/1.234, allocations: 1.001 MB / 1.32 GB, free: 25.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/1.234, allocations: 257.3 kB / 1.32 GB, free: 24.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.234, allocations: 2.812 kB / 1.32 GB, free: 24.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.234, allocations: 5.094 kB / 1.32 GB, free: 24.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/1.234, allocations: 72.39 kB / 1.32 GB, free: 24.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.234, allocations: 2.688 kB / 1.32 GB, free: 24.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/1.235, allocations: 144 kB / 1.32 GB, free: 24.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.235, allocations: 74.12 kB / 1.32 GB, free: 24.75 MB / 1.061 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.0002586/1.235, allocations: 320.7 kB / 1.32 GB, free: 24.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/1.235, allocations: 39.8 kB / 1.321 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/1.235, allocations: 42.8 kB / 1.321 GB, free: 24.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.235, allocations: 2.75 kB / 1.321 GB, free: 24.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.235, allocations: 2.75 kB / 1.321 GB, free: 24.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.235, allocations: 3.281 kB / 1.321 GB, free: 24.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/1.237, allocations: 1.188 MB / 1.322 GB, free: 23.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.237, allocations: 3.328 kB / 1.322 GB, free: 23.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.237, allocations: 61.75 kB / 1.322 GB, free: 23.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.237, allocations: 4 kB / 1.322 GB, free: 23.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.237, allocations: 17.12 kB / 1.322 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.237, allocations: 6.75 kB / 1.322 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.237, allocations: 3.938 kB / 1.322 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/1.238, allocations: 0.7688 MB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/1.238, allocations: 119.4 kB / 1.323 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.238, allocations: 14.03 kB / 1.323 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/1.238, allocations: 24.69 kB / 1.323 GB, free: 23.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.238, allocations: 45.38 kB / 1.323 GB, free: 23.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/1.238, allocations: 39.88 kB / 1.323 GB, free: 23.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001619/1.238, allocations: 208.1 kB / 1.323 GB, free: 22.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.238, allocations: 0 / 1.323 GB, free: 22.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004609/1.239, allocations: 103.1 kB / 1.323 GB, free: 22.93 MB / 1.061 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.0001907/1.239, allocations: 126.9 kB / 1.323 GB, free: 22.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.24, allocations: 1.043 MB / 1.324 GB, free: 22.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.24, allocations: 0 / 1.324 GB, free: 22.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/1.241, allocations: 498.6 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/1.241, allocations: 91.67 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.243, allocations: 0.8134 MB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/1.243, allocations: 0.7949 MB / 1.326 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002323/1.243, allocations: 96.05 kB / 1.326 GB, free: 20.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/1.243, allocations: 35.44 kB / 1.326 GB, free: 20.59 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/1.243, allocations: 4 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of Templates: time 0.01722/1.261, allocations: 6.713 MB / 1.333 GB, free: 20.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.223698744550347]