Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001709/0.001709, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002745/0.002745, allocations: 187.8 kB / 22.23 MB, free: 5.137 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.565/1.565, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.83 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002435/1.067, allocations: 1.029 MB / 1.219 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002034/1.069, allocations: 1.34 MB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/1.069, allocations: 2.219 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/1.069, allocations: 20.89 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/1.069, allocations: 51.22 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/1.07, allocations: 273.9 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005639/1.07, allocations: 383.9 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/1.071, allocations: 53.02 kB / 1.222 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/1.071, allocations: 155.2 kB / 1.222 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/1.071, allocations: 130 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-05/1.071, allocations: 37.44 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/1.071, allocations: 60.09 kB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.072, allocations: 61.62 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/1.072, allocations: 140.7 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/1.072, allocations: 399.5 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.072, allocations: 0 / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/1.072, allocations: 0 / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.072, allocations: 3.984 kB / 1.222 GB, free: 0.6445 MB / 0.92 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.00121/1.073, allocations: 0.6234 MB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.074, allocations: 12.62 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/1.074, allocations: 29.45 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.075, allocations: 370.2 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/1.075, allocations: 21.81 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/1.075, allocations: 24.17 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/1.075, allocations: 209.9 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.075, allocations: 5.094 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.075, allocations: 1.969 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.075, allocations: 7.312 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/1.076, allocations: 139.9 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/1.077, allocations: 0.9082 MB / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/1.077, allocations: 153.7 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/1.078, allocations: 81.45 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/1.078, allocations: 1.344 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/1.078, allocations: 164.6 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/1.078, allocations: 1.188 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0009284/1.079, allocations: 261.9 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.079, allocations: 160.9 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/1.08, allocations: 222.6 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/1.08, allocations: 34.77 kB / 1.226 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/1.08, allocations: 156.1 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/1.08, allocations: 32.52 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.08, allocations: 55.81 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.08, allocations: 336 kB / 1.226 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/1.08, allocations: 101.1 kB / 1.226 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/1.081, allocations: 174.7 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/1.081, allocations: 276.2 kB / 1.227 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.081, allocations: 1.094 kB / 1.227 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008586/1.082, allocations: 371.9 kB / 1.227 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/1.082, allocations: 72.61 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.082, allocations: 1.156 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.082, allocations: 3.75 kB / 1.227 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.082, allocations: 25.34 kB / 1.227 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.082, allocations: 2.688 kB / 1.227 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/1.083, allocations: 97.59 kB / 1.227 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/1.083, allocations: 10.62 kB / 1.227 GB, free: 12.43 MB / 0.9356 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.0001766/1.083, allocations: 167 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/1.083, allocations: 21.64 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/1.083, allocations: 27.2 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.083, allocations: 2.5 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.083, allocations: 1.312 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.083, allocations: 2.094 kB / 1.228 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/1.084, allocations: 261.7 kB / 1.228 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.084, allocations: 1.094 kB / 1.228 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.084, allocations: 29.41 kB / 1.228 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.084, allocations: 1.906 kB / 1.228 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/1.084, allocations: 6.656 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.084, allocations: 6.625 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.084, allocations: 1.312 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/1.084, allocations: 242.9 kB / 1.228 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/1.084, allocations: 94.44 kB / 1.228 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/1.084, allocations: 2.781 kB / 1.228 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.085, allocations: 26.81 kB / 1.228 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/1.085, allocations: 21.17 kB / 1.228 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/1.085, allocations: 8.172 kB / 1.228 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001564/1.085, allocations: 162.2 kB / 1.228 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 1.228 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003285/1.085, allocations: 53.95 kB / 1.229 GB, free: 11.51 MB / 0.9356 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.0001842/1.085, allocations: 109.6 kB / 1.229 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007534/1.086, allocations: 310.8 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.086, allocations: 1.312 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/1.086, allocations: 74.88 kB / 1.229 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/1.087, allocations: 45.56 kB / 1.229 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/1.088, allocations: 391.4 kB / 1.229 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/1.088, allocations: 0.7448 MB / 1.23 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000119/1.088, allocations: 36.75 kB / 1.23 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/1.088, allocations: 21.73 kB / 1.23 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.088, allocations: 0 / 1.23 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.007763/1.096, allocations: 3.238 MB / 1.233 GB, free: 7.359 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.639033436775208]