Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 110 kB / 18.93 MB, free: 2.945 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.001702/0.001702, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003304/0.003304, allocations: 71.89 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.019, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002454/1.021, allocations: 1.01 MB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002129/1.023, allocations: 1.339 MB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/1.023, allocations: 7.938 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/1.023, allocations: 19.73 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/1.023, allocations: 47.59 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/1.024, allocations: 286.8 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004839/1.025, allocations: 379.3 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/1.025, allocations: 49.44 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/1.025, allocations: 163.6 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/1.026, allocations: 127.6 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/1.026, allocations: 35.94 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/1.026, allocations: 59.97 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/1.026, allocations: 59.83 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/1.026, allocations: 147.3 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005021/1.027, allocations: 397.2 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.027, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.123e-06/1.027, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.027, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 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.001052/1.028, allocations: 0.5472 MB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.028, allocations: 8.031 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/1.028, allocations: 32.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009518/1.029, allocations: 313.1 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.029, allocations: 16.38 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/1.029, allocations: 32.31 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/1.029, allocations: 198.4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.029, allocations: 3.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/1.029, allocations: 7.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/1.029, allocations: 8 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/1.03, allocations: 139.8 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/1.031, allocations: 0.875 MB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/1.031, allocations: 153 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/1.032, allocations: 80.3 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/1.032, allocations: 4 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/1.032, allocations: 167.5 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/1.032, allocations: 0 / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.000871/1.033, allocations: 253.4 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.033, allocations: 166.2 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/1.033, allocations: 221.2 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/1.033, allocations: 41.7 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.033, allocations: 152.3 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/1.033, allocations: 35.73 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.034, allocations: 57.67 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.034, allocations: 334.8 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.034, allocations: 99.91 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/1.035, allocations: 169.4 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/1.035, allocations: 278.9 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.035, allocations: 4 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008827/1.036, allocations: 372.8 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-05/1.036, allocations: 65.44 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.036, allocations: 4 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.036, allocations: 3.984 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/1.036, allocations: 27.92 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.036, allocations: 3.984 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/1.037, allocations: 87.95 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/1.037, allocations: 16.45 kB / 1.283 GB, free: 10.79 MB / 0.9825 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.000216/1.037, allocations: 159.8 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.037, allocations: 19.86 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/1.037, allocations: 29.33 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.037, allocations: 7.984 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.037, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.037, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/1.037, allocations: 236.5 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.037, allocations: 0 / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/1.038, allocations: 23.97 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/1.038, allocations: 7.938 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/1.038, allocations: 0 / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/1.038, allocations: 8 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/1.038, allocations: 7.938 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/1.038, allocations: 240.2 kB / 1.284 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/1.038, allocations: 11.91 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.038, allocations: 7.984 kB / 1.284 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.038, allocations: 19.98 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/1.039, allocations: 23.84 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.039, allocations: 8 kB / 1.284 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001775/1.039, allocations: 164.4 kB / 1.284 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.039, allocations: 0 / 1.284 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000329/1.039, allocations: 51.89 kB / 1.284 GB, free: 9.695 MB / 0.9825 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.0001804/1.039, allocations: 107.2 kB / 1.284 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008032/1.04, allocations: 310.5 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.04, allocations: 0 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/1.04, allocations: 76.48 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/1.041, allocations: 50.75 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/1.041, allocations: 387.4 kB / 1.285 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/1.042, allocations: 0.7398 MB / 1.286 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001439/1.042, allocations: 41.61 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/1.042, allocations: 19.44 kB / 1.286 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.042, allocations: 0 / 1.286 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.007934/1.05, allocations: 3.235 MB / 1.289 GB, free: 4.695 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.604258145205677]