Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001632/0.001632, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002554/0.002554, allocations: 162.3 kB / 23.01 MB, free: 4.602 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.895 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 2.968/2.968, allocations: 394.2 MB / 0.6386 GB, free: 12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 67.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.14, allocations: 181.8 MB / 1.187 GB, free: 16.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002676/1.142, allocations: 0.9612 MB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002756/1.145, allocations: 1.346 MB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/1.145, allocations: 6.062 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/1.146, allocations: 16.16 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/1.146, allocations: 53.03 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/1.147, allocations: 278.2 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/1.147, allocations: 381.3 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/1.148, allocations: 45.56 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/1.148, allocations: 150.5 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/1.148, allocations: 120.7 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/1.148, allocations: 37.81 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/1.149, allocations: 50.14 kB / 1.19 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/1.149, allocations: 55 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/1.149, allocations: 124.5 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006909/1.15, allocations: 403.2 kB / 1.191 GB, free: 13.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.15, allocations: 0 / 1.191 GB, free: 13.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/1.15, allocations: 4 kB / 1.191 GB, free: 13.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.15, allocations: 0 / 1.191 GB, free: 13.92 MB / 1.076 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.001197/1.151, allocations: 0.5444 MB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.151, allocations: 10.41 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/1.151, allocations: 74.72 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/1.152, allocations: 311.6 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.152, allocations: 14.25 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/1.152, allocations: 20.67 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/1.153, allocations: 202.6 kB / 1.192 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.153, allocations: 5.156 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/1.153, allocations: 13.58 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.153, allocations: 3.406 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/1.153, allocations: 139.6 kB / 1.192 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.154, allocations: 0.7913 MB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.155, allocations: 151.6 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/1.155, allocations: 80.17 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.155, allocations: 3.109 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/1.156, allocations: 167.2 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/1.156, allocations: 0 / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001023/1.157, allocations: 258.9 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.157, allocations: 166.6 kB / 1.193 GB, free: 11.87 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.157, allocations: 223.8 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/1.157, allocations: 33.92 kB / 1.194 GB, free: 11.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.157, allocations: 158.2 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/1.157, allocations: 30.91 kB / 1.194 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.157, allocations: 55.44 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/1.157, allocations: 330.3 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/1.158, allocations: 164.9 kB / 1.194 GB, free: 11.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/1.158, allocations: 288.9 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/1.159, allocations: 279 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.159, allocations: 8.719 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001006/1.16, allocations: 441.2 kB / 1.195 GB, free: 10.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.16, allocations: 68.84 kB / 1.195 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.16, allocations: 2 kB / 1.195 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.16, allocations: 3.25 kB / 1.195 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/1.16, allocations: 33.47 kB / 1.195 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.16, allocations: 3.719 kB / 1.195 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/1.161, allocations: 71.45 kB / 1.195 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/1.161, allocations: 17.34 kB / 1.195 GB, free: 10.31 MB / 1.076 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.0001779/1.161, allocations: 152.3 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/1.161, allocations: 22.28 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/1.161, allocations: 23.2 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.161, allocations: 2.188 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.161, allocations: 1.188 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.161, allocations: 6.047 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.161, allocations: 181.1 kB / 1.196 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.161, allocations: 1.922 kB / 1.196 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/1.161, allocations: 29.11 kB / 1.196 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.161, allocations: 1.094 kB / 1.196 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.161, allocations: 3.797 kB / 1.196 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.161, allocations: 1.719 kB / 1.196 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.161, allocations: 6.188 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/1.162, allocations: 240.9 kB / 1.196 GB, free: 9.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/1.162, allocations: 19.58 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.162, allocations: 4.406 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.162, allocations: 16.38 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/1.162, allocations: 19.83 kB / 1.196 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.162, allocations: 9.172 kB / 1.196 GB, free: 9.816 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000147/1.162, allocations: 163.3 kB / 1.196 GB, free: 9.715 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.162, allocations: 0 / 1.196 GB, free: 9.715 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003484/1.163, allocations: 52.84 kB / 1.196 GB, free: 9.703 MB / 1.076 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.0001511/1.163, allocations: 108.7 kB / 1.196 GB, free: 9.609 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008426/1.164, allocations: 375.9 kB / 1.197 GB, free: 9.363 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.164, allocations: 0 / 1.197 GB, free: 9.363 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.164, allocations: 76.22 kB / 1.197 GB, free: 9.348 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/1.164, allocations: 65.52 kB / 1.197 GB, free: 9.312 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/1.165, allocations: 396.2 kB / 1.197 GB, free: 9.039 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/1.165, allocations: 138.9 kB / 1.197 GB, free: 8.953 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001337/1.165, allocations: 33.72 kB / 1.198 GB, free: 8.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/1.165, allocations: 24.03 kB / 1.198 GB, free: 8.938 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.165, allocations: 0 / 1.198 GB, free: 8.938 MB / 1.076 GB Notification: Performance of Templates: time 0.01019/1.176, allocations: 3.328 MB / 1.201 GB, free: 8.555 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.581892288988456]