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.001467/0.001467, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001731/0.001731, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9263/0.9263, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.06/2.06, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.667e-06/3.667e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.587e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001877/0.001913, allocations: 0.9917 MB / 0.8791 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.003442, allocations: 1.386 MB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.003531, allocations: 3.938 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003668, allocations: 19.81 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003772, allocations: 52.39 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.004417, allocations: 272.6 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.004742, allocations: 384.1 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.00488, allocations: 45.78 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.005121, allocations: 228.3 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.005313, allocations: 97.23 kB / 0.8816 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.005359, allocations: 28 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.005455, allocations: 45.28 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.00552, allocations: 55.77 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.005608, allocations: 87.8 kB / 0.8818 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.005873, allocations: 262.3 kB / 0.882 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.005875, allocations: 0 / 0.882 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005876, allocations: 0 / 0.882 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00588, allocations: 0 / 0.882 GB, free: 2.383 MB / 0.8386 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.0006655/0.006546, allocations: 0.6276 MB / 0.8826 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.006585, allocations: 12.03 kB / 0.8826 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.006845, allocations: 84.73 kB / 0.8827 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.007095, allocations: 228.2 kB / 0.8829 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.007124, allocations: 13.72 kB / 0.8829 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.007159, allocations: 24.38 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.007452, allocations: 186.7 kB / 0.8831 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.007465, allocations: 4.188 kB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.007484, allocations: 12.36 kB / 0.8832 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.007496, allocations: 4.375 kB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.007579, allocations: 43.84 kB / 0.8832 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.008424, allocations: 1.015 MB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.008564, allocations: 147.5 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.008615, allocations: 54.48 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.008627, allocations: 7.938 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.008777, allocations: 151.2 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.008778, allocations: 0 / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002664/0.009045, allocations: 141.7 kB / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.00911, allocations: 162.3 kB / 0.8848 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.009271, allocations: 268.3 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.009298, allocations: 37.7 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.009393, allocations: 199 kB / 0.8853 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.00942, allocations: 35.75 kB / 0.8854 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.009491, allocations: 55.34 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.009622, allocations: 0.504 MB / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.009746, allocations: 115.4 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.009908, allocations: 267.3 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.01008, allocations: 216.5 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01008, allocations: 0 / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003329/0.01041, allocations: 360.2 kB / 0.8868 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.01046, allocations: 71.33 kB / 0.8869 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01046, allocations: 4 kB / 0.8869 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01048, allocations: 4 kB / 0.8869 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.01056, allocations: 19.92 kB / 0.8869 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01057, allocations: 7.984 kB / 0.8869 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.01073, allocations: 51.89 kB / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01075, allocations: 20.05 kB / 0.887 GB, free: 12.75 MB / 0.8542 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 8.559e-05/0.01083, allocations: 172.5 kB / 0.8871 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.01086, allocations: 27.8 kB / 0.8872 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.01089, allocations: 25.33 kB / 0.8872 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.0109, allocations: 480 / 0.8872 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.0109, allocations: 4 kB / 0.8872 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01091, allocations: 0 / 0.8872 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01105, allocations: 192.5 kB / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.01105, allocations: 4 kB / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.0111, allocations: 23.98 kB / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.0111, allocations: 0 / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01111, allocations: 11.92 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01111, allocations: 0 / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.01112, allocations: 7.938 kB / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.0113, allocations: 183 kB / 0.8876 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01132, allocations: 19.86 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01134, allocations: 3.938 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.01138, allocations: 15.98 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.01145, allocations: 23.91 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01146, allocations: 8 kB / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.957e-05/0.01155, allocations: 185.1 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01155, allocations: 0 / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001991/0.01175, allocations: 51.88 kB / 0.8879 GB, free: 11.72 MB / 0.8542 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.0001397/0.01189, allocations: 107.2 kB / 0.888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.01223, allocations: 302.1 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01223, allocations: 4.062 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.01229, allocations: 39.61 kB / 0.8883 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01252, allocations: 50.66 kB / 0.8884 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.013, allocations: 389.7 kB / 0.8888 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01305, allocations: 83.97 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.927e-05/0.01312, allocations: 33.61 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.01316, allocations: 24.5 kB / 0.8889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.443e-06/0.01316, allocations: 0 / 0.8889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.005356/0.01851, allocations: 3.582 MB / 0.8924 GB, free: 7.09 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.381250381935388]