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.001033/0.001033, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009909/0.0009909, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.29/2.29, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 2.554e-06/2.554e-06, allocations: 0 / 0.8782 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.839e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002624/0.002652, allocations: 1.007 MB / 0.8792 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.004754, allocations: 1.38 MB / 0.8805 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.004852, allocations: 7.938 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.004994, allocations: 15.8 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.005142, allocations: 51.58 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.00609, allocations: 267.4 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.006597, allocations: 387.2 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.006779, allocations: 42.64 kB / 0.8812 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.007115, allocations: 215.7 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.007467, allocations: 112.8 kB / 0.8816 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.007532, allocations: 32 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.007667, allocations: 51.98 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.007754, allocations: 52.92 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.007889, allocations: 103.7 kB / 0.8818 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.008406, allocations: 295.9 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.008411, allocations: 0 / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.008412, allocations: 0 / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.008419, allocations: 0.8438 kB / 0.8821 GB, free: 2.18 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.0007907/0.00921, allocations: 0.635 MB / 0.8827 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.009251, allocations: 8.031 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.009552, allocations: 84.75 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.01003, allocations: 275.7 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.01005, allocations: 20.38 kB / 0.8831 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.01009, allocations: 24.36 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.01034, allocations: 180 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01035, allocations: 192 / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.01036, allocations: 9.062 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01037, allocations: 8.125 kB / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.01045, allocations: 40.88 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.01122, allocations: 1.012 MB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.01135, allocations: 155.4 kB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.0114, allocations: 50.5 kB / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.01141, allocations: 3.938 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.01157, allocations: 151.3 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.01157, allocations: 0 / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002826/0.01185, allocations: 149.6 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.01192, allocations: 162.2 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01208, allocations: 264.3 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.01211, allocations: 29.7 kB / 0.8852 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.0122, allocations: 199.1 kB / 0.8854 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.01223, allocations: 35.64 kB / 0.8854 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.01231, allocations: 59.34 kB / 0.8855 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01244, allocations: 0.504 MB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01256, allocations: 115.4 kB / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01273, allocations: 271.2 kB / 0.8864 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.0129, allocations: 220.5 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.0129, allocations: 0 / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003538/0.01326, allocations: 368.1 kB / 0.8869 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.0133, allocations: 63.39 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.0133, allocations: 4.469 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01332, allocations: 0 / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.01341, allocations: 27.92 kB / 0.887 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01342, allocations: 4 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.01357, allocations: 52 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.01359, allocations: 19.98 kB / 0.8871 GB, free: 12.5 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 9.242e-05/0.01369, allocations: 168.6 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.01371, allocations: 35.75 kB / 0.8873 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01376, allocations: 17.34 kB / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01376, allocations: 7.938 kB / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01377, allocations: 0 / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01377, allocations: 7.984 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01391, allocations: 192.5 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01392, allocations: 0 / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.01396, allocations: 19.98 kB / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01396, allocations: 4 kB / 0.8875 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01398, allocations: 7.938 kB / 0.8875 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01398, allocations: 7.984 kB / 0.8875 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01398, allocations: 0 / 0.8875 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.01414, allocations: 179.1 kB / 0.8877 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.01416, allocations: 19.8 kB / 0.8877 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01418, allocations: 15.92 kB / 0.8877 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.01423, allocations: 12 kB / 0.8878 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.01428, allocations: 15.97 kB / 0.8878 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01429, allocations: 4 kB / 0.8878 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.01438, allocations: 193.1 kB / 0.888 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01438, allocations: 3.938 kB / 0.888 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001999/0.01458, allocations: 55.83 kB / 0.888 GB, free: 11.47 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.0001691/0.01475, allocations: 103.2 kB / 0.8881 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.01505, allocations: 298 kB / 0.8884 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01506, allocations: 0 / 0.8884 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.01511, allocations: 39.61 kB / 0.8884 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01535, allocations: 52.89 kB / 0.8885 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.01585, allocations: 393.5 kB / 0.8889 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.0159, allocations: 79.98 kB / 0.8889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.01597, allocations: 33.61 kB / 0.889 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.01601, allocations: 24.5 kB / 0.889 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01601, allocations: 0 / 0.889 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.005097/0.02111, allocations: 3.337 MB / 0.8922 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.894405505154282]