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.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.00285/0.00285, allocations: 87.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.00336/0.00336, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.991/2.991, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 3.145e-06/3.145e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.302e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002586/0.002619, allocations: 0.9731 MB / 0.7873 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.004773, allocations: 1.348 MB / 0.7887 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.004845, allocations: 4.719 kB / 0.7887 GB, free: 9.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.004971, allocations: 23.73 kB / 0.7887 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.005092, allocations: 45.66 kB / 0.7887 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.005853, allocations: 271.3 kB / 0.789 GB, free: 9.023 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.006363, allocations: 388.5 kB / 0.7894 GB, free: 8.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.006515, allocations: 53.69 kB / 0.7894 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.006826, allocations: 207.7 kB / 0.7896 GB, free: 8.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.007042, allocations: 112.3 kB / 0.7897 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.007115, allocations: 32 kB / 0.7897 GB, free: 8.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.007248, allocations: 53.27 kB / 0.7898 GB, free: 8.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.007348, allocations: 59.77 kB / 0.7898 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.007511, allocations: 99.8 kB / 0.7899 GB, free: 8.043 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.008098, allocations: 447.6 kB / 0.7904 GB, free: 7.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.008101, allocations: 0 / 0.7904 GB, free: 7.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008102, allocations: 1.375 kB / 0.7904 GB, free: 7.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.00811, allocations: 4 kB / 0.7904 GB, free: 7.602 MB / 0.698 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.001043/0.009153, allocations: 0.6429 MB / 0.791 GB, free: 6.906 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.009188, allocations: 10.53 kB / 0.791 GB, free: 6.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.009546, allocations: 80.75 kB / 0.7911 GB, free: 6.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.01035, allocations: 291.6 kB / 0.7914 GB, free: 6.512 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.01038, allocations: 14.09 kB / 0.7914 GB, free: 6.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.01042, allocations: 24.36 kB / 0.7914 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.01082, allocations: 184.5 kB / 0.7916 GB, free: 6.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01083, allocations: 4.188 kB / 0.7916 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.01085, allocations: 8.953 kB / 0.7916 GB, free: 6.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01086, allocations: 8.719 kB / 0.7916 GB, free: 6.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.01119, allocations: 84.94 kB / 0.7917 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.01248, allocations: 1.043 MB / 0.7927 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.01279, allocations: 173.2 kB / 0.7929 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.01298, allocations: 77.03 kB / 0.7929 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.013, allocations: 7.938 kB / 0.7929 GB, free: 4.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.01333, allocations: 171.2 kB / 0.7931 GB, free: 4.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.01334, allocations: 0 / 0.7931 GB, free: 4.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006861/0.01402, allocations: 216.8 kB / 0.7933 GB, free: 4.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.01414, allocations: 158.2 kB / 0.7935 GB, free: 4.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.01469, allocations: 308.2 kB / 0.7938 GB, free: 3.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.01473, allocations: 37.64 kB / 0.7938 GB, free: 3.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.01492, allocations: 207.6 kB / 0.794 GB, free: 3.559 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.01496, allocations: 40.41 kB / 0.794 GB, free: 3.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.0151, allocations: 63.34 kB / 0.7941 GB, free: 3.449 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002841/0.01538, allocations: 0.5126 MB / 0.7946 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.01571, allocations: 164.4 kB / 0.7948 GB, free: 2.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.01616, allocations: 315.3 kB / 0.7951 GB, free: 2.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.01665, allocations: 271.6 kB / 0.7953 GB, free: 2.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01665, allocations: 4.844 kB / 0.7953 GB, free: 2.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008601/0.01751, allocations: 434.6 kB / 0.7957 GB, free: 1.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.795e-05/0.01758, allocations: 67.39 kB / 0.7958 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01759, allocations: 5.906 kB / 0.7958 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.01761, allocations: 4 kB / 0.7958 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.01773, allocations: 19.92 kB / 0.7958 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01774, allocations: 7.984 kB / 0.7958 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.01806, allocations: 58.33 kB / 0.7959 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.0181, allocations: 12 kB / 0.7959 GB, free: 1.426 MB / 0.698 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.0001761/0.01828, allocations: 186.5 kB / 0.7961 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.01832, allocations: 32.8 kB / 0.7961 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.01839, allocations: 27.27 kB / 0.7961 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01839, allocations: 0 / 0.7961 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.0184, allocations: 8 kB / 0.7961 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.0184, allocations: 3.984 kB / 0.7961 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.01867, allocations: 212.6 kB / 0.7963 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01867, allocations: 0.9062 kB / 0.7963 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.01877, allocations: 19.98 kB / 0.7964 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01878, allocations: 4.766 kB / 0.7964 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01879, allocations: 7.938 kB / 0.7964 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0188, allocations: 1.188 kB / 0.7964 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.0188, allocations: 7.938 kB / 0.7964 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.01927, allocations: 231.7 kB / 0.7966 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.0193, allocations: 19.06 kB / 0.7966 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.01933, allocations: 7.922 kB / 0.7966 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.01942, allocations: 12 kB / 0.7966 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.01949, allocations: 19.91 kB / 0.7967 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.0195, allocations: 4 kB / 0.7967 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002013/0.01971, allocations: 209.1 kB / 0.7969 GB, free: 364 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01971, allocations: 0 / 0.7969 GB, free: 364 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002942/0.02, allocations: 55.89 kB / 0.7969 GB, free: 308 kB / 0.698 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.0001789/0.02018, allocations: 101 kB / 0.797 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007561/0.02093, allocations: 403.7 kB / 0.7974 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.02094, allocations: 0 / 0.7974 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.02114, allocations: 64.72 kB / 0.7975 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.02149, allocations: 59.5 kB / 0.7975 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.02223, allocations: 405.5 kB / 0.7979 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.02238, allocations: 131.1 kB / 0.798 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.02249, allocations: 35.52 kB / 0.7981 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.02254, allocations: 20.5 kB / 0.7981 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.02254, allocations: 0 / 0.7981 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.008416/0.03096, allocations: 3.328 MB / 0.8013 GB, free: 11.75 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] 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: 8.198581976001151]