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.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.001499/0.001499, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002838/0.002838, allocations: 163 kB / 22.46 MB, free: 5.375 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.519/1.519, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.124/3.124, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 2.634e-06/2.634e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.007e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002513/0.002543, allocations: 1.248 MB / 1.001 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.005316, allocations: 1.575 MB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.005443, allocations: 4 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.005614, allocations: 35.55 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.005803, allocations: 83.3 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.007168, allocations: 0.4994 MB / 1.004 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000869/0.008037, allocations: 0.6559 MB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.008357, allocations: 109.3 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.008858, allocations: 375.4 kB / 1.005 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.009162, allocations: 183.5 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.009275, allocations: 67.98 kB / 1.005 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.009425, allocations: 75.98 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.009549, allocations: 83.62 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.009816, allocations: 191.6 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.01071, allocations: 0.7635 MB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.01071, allocations: 0 / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01071, allocations: 0 / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.01072, allocations: 4 kB / 1.006 GB, free: 1.375 MB / 0.9512 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.001639/0.01236, allocations: 0.8788 MB / 1.007 GB, free: 416 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.01241, allocations: 8.031 kB / 1.007 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.01255, allocations: 52.69 kB / 1.007 GB, free: 356 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.01389, allocations: 400.8 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.01393, allocations: 28.88 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.01402, allocations: 40.38 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.0148, allocations: 468.9 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01481, allocations: 192 / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.01484, allocations: 12.38 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.01485, allocations: 8.125 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.01561, allocations: 386.3 kB / 1.008 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.01731, allocations: 0.7321 MB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.01817, allocations: 480.2 kB / 1.009 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.01884, allocations: 393.3 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.01887, allocations: 4 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008169/0.01968, allocations: 471.5 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 4.529e-06/0.01969, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002126/0.02181, allocations: 1.101 MB / 1.011 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.02195, allocations: 191.9 kB / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.0223, allocations: 280.5 kB / 1.012 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.02239, allocations: 45.7 kB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.02256, allocations: 164.9 kB / 1.012 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.02269, allocations: 130.9 kB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.02293, allocations: 138.1 kB / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.02314, allocations: 342.8 kB / 1.012 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.02395, allocations: 0.5314 MB / 1.013 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.0249, allocations: 0.6065 MB / 1.014 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.02657, allocations: 0.9175 MB / 1.014 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.02658, allocations: 0 / 1.014 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00232/0.0289, allocations: 1.268 MB / 1.016 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.02917, allocations: 263.5 kB / 1.016 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.02919, allocations: 8 kB / 1.016 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.02922, allocations: 4 kB / 1.016 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.02958, allocations: 63.89 kB / 1.016 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.02959, allocations: 4 kB / 1.016 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.03045, allocations: 147.6 kB / 1.016 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.03061, allocations: 71.86 kB / 1.016 GB, free: 5.895 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.0004454/0.03105, allocations: 314.2 kB / 1.017 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.03113, allocations: 43.75 kB / 1.017 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.03123, allocations: 39.38 kB / 1.017 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.03124, allocations: 8 kB / 1.017 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.03126, allocations: 4 kB / 1.017 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.03127, allocations: 3.984 kB / 1.017 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.03328, allocations: 1.211 MB / 1.018 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03329, allocations: 0 / 1.018 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.03357, allocations: 67.89 kB / 1.018 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.03357, allocations: 0 / 1.018 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.03361, allocations: 12 kB / 1.018 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.03361, allocations: 0 / 1.018 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.03361, allocations: 3.984 kB / 1.018 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.03496, allocations: 0.9116 MB / 1.019 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.03501, allocations: 35.7 kB / 1.019 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.03506, allocations: 11.94 kB / 1.019 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.0353, allocations: 31.97 kB / 1.019 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.03541, allocations: 35.94 kB / 1.019 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/0.03549, allocations: 47.94 kB / 1.019 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002053/0.03569, allocations: 191.1 kB / 1.019 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03569, allocations: 0 / 1.019 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004527/0.03614, allocations: 115.9 kB / 1.019 GB, free: 2.609 MB / 0.9669 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.0002089/0.03635, allocations: 119.1 kB / 1.019 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.03829, allocations: 1.433 MB / 1.021 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03829, allocations: 0 / 1.021 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.03906, allocations: 0.6262 MB / 1.021 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.03966, allocations: 88.98 kB / 1.021 GB, free: 48 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.04115, allocations: 0.9257 MB / 1.022 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.04137, allocations: 192.3 kB / 1.023 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.04159, allocations: 87.2 kB / 1.023 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.04168, allocations: 32.5 kB / 1.023 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.04168, allocations: 3.938 kB / 1.023 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.01377/0.05545, allocations: 6.992 MB / 1.029 GB, free: 7.863 MB / 0.9825 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 800] 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: 8.799366820603609]