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.003381/0.003381, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001174/0.001174, allocations: 173 kB / 23.49 MB, free: 1.059 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.093/2.093, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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 1.673e-06/1.673e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.856e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001472/0.001491, allocations: 0.9934 MB / 0.8792 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002816, allocations: 1.387 MB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.002881, allocations: 4 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.002986, allocations: 11.81 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.003065, allocations: 52.92 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.003604, allocations: 264.7 kB / 0.8808 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.003915, allocations: 387.2 kB / 0.8812 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.004054, allocations: 45.77 kB / 0.8812 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.004248, allocations: 213.2 kB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.00438, allocations: 107.7 kB / 0.8816 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.004418, allocations: 36 kB / 0.8816 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.004501, allocations: 51.97 kB / 0.8816 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.004564, allocations: 61.98 kB / 0.8817 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.004661, allocations: 103.7 kB / 0.8818 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.004916, allocations: 279.1 kB / 0.8821 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004919, allocations: 4 kB / 0.8821 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00492, allocations: 0 / 0.8821 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.004924, allocations: 0 / 0.8821 GB, free: 2.66 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.0007954/0.00572, allocations: 0.6337 MB / 0.8827 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.005757, allocations: 12.03 kB / 0.8827 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.00602, allocations: 84.75 kB / 0.8828 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.006464, allocations: 283.7 kB / 0.883 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.00649, allocations: 16.38 kB / 0.8831 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.006521, allocations: 20.38 kB / 0.8831 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.00677, allocations: 182.5 kB / 0.8833 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.006778, allocations: 192 / 0.8833 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006794, allocations: 8.375 kB / 0.8833 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.006802, allocations: 4.125 kB / 0.8833 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.006884, allocations: 43.91 kB / 0.8833 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.007538, allocations: 1.026 MB / 0.8843 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.00766, allocations: 143.5 kB / 0.8845 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.007709, allocations: 54.48 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007719, allocations: 4 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.007859, allocations: 155.2 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.00786, allocations: 0 / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002618/0.008122, allocations: 141.4 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.008189, allocations: 166.2 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.008353, allocations: 264.3 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.008379, allocations: 33.7 kB / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.008474, allocations: 203.5 kB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.0085, allocations: 31.75 kB / 0.8855 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.008575, allocations: 59.34 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.0087, allocations: 0.504 MB / 0.886 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.008825, allocations: 123.4 kB / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.00898, allocations: 263.3 kB / 0.8864 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.009141, allocations: 212.5 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009143, allocations: 0 / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003463/0.009489, allocations: 368 kB / 0.8869 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.009532, allocations: 69.73 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009537, allocations: 0 / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.00955, allocations: 4 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.009633, allocations: 32.14 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009639, allocations: 0 / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.009789, allocations: 51.84 kB / 0.8871 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.00981, allocations: 19.98 kB / 0.8871 GB, free: 12.97 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.708e-05/0.009897, allocations: 172.5 kB / 0.8873 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.009921, allocations: 23.84 kB / 0.8873 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.009956, allocations: 29.33 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.009961, allocations: 4 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.009965, allocations: 0 / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.009968, allocations: 0 / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.0101, allocations: 188.5 kB / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.0101, allocations: 8 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.01014, allocations: 19.92 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01015, allocations: 0 / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01016, allocations: 11.92 kB / 0.8875 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01016, allocations: 3.938 kB / 0.8875 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01016, allocations: 4 kB / 0.8875 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.01032, allocations: 175.2 kB / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01034, allocations: 27.78 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.01036, allocations: 11.94 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.0104, allocations: 7.984 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.01046, allocations: 19.92 kB / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.01047, allocations: 4.469 kB / 0.8878 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.01056, allocations: 193.1 kB / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001896/0.01075, allocations: 51.89 kB / 0.888 GB, free: 11.95 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.0001423/0.01089, allocations: 107.2 kB / 0.8881 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01119, allocations: 301.7 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01119, allocations: 0 / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.01125, allocations: 43.78 kB / 0.8884 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01149, allocations: 57.02 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01197, allocations: 385.6 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.01202, allocations: 87.97 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.01209, allocations: 33.62 kB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.01212, allocations: 16.5 kB / 0.889 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.01212, allocations: 4 kB / 0.889 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.005005/0.01713, allocations: 3.335 MB / 0.8923 GB, free: 7.559 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.6164659801870584]