Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001012/0.001012, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009681/0.0009681, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9545/0.9545, allocations: 177.1 MB / 204.5 MB, free: 5.535 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.272/2.272, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.496e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002066/0.002091, allocations: 1.277 MB / 0.8807 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.004185, allocations: 1.608 MB / 0.8822 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.004346, allocations: 5.875 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.004524, allocations: 31.55 kB / 0.8823 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.004676, allocations: 83.23 kB / 0.8823 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.005708, allocations: 0.4886 MB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.006371, allocations: 0.6571 MB / 0.8835 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.006642, allocations: 105.3 kB / 0.8836 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.00708, allocations: 396.8 kB / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.007307, allocations: 174 kB / 0.8841 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.007371, allocations: 48 kB / 0.8841 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.007476, allocations: 59.98 kB / 0.8842 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.007566, allocations: 83.67 kB / 0.8843 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.007718, allocations: 163.6 kB / 0.8844 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.008157, allocations: 432.7 kB / 0.8849 GB, free: 464 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.008159, allocations: 0 / 0.8849 GB, free: 464 kB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00816, allocations: 0 / 0.8849 GB, free: 464 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.008166, allocations: 0 / 0.8849 GB, free: 464 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001017/0.009183, allocations: 0.9521 MB / 0.8858 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.009227, allocations: 12.03 kB / 0.8858 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.009332, allocations: 72.69 kB / 0.8859 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.009666, allocations: 307 kB / 0.8862 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.009699, allocations: 24.88 kB / 0.8862 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.009745, allocations: 36.38 kB / 0.8862 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.01009, allocations: 349.8 kB / 0.8865 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.0101, allocations: 192 / 0.8865 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01012, allocations: 8.375 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.01013, allocations: 4.375 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.01028, allocations: 223.9 kB / 0.8868 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.01117, allocations: 0.7164 MB / 0.8875 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.01142, allocations: 288.1 kB / 0.8877 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.01157, allocations: 258.7 kB / 0.888 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.01159, allocations: 4 kB / 0.888 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.01183, allocations: 333.2 kB / 0.8883 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.01184, allocations: 0 / 0.8883 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.0006391/0.01247, allocations: 0.7728 MB / 0.8891 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/0.01257, allocations: 191.9 kB / 0.8893 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01277, allocations: 314.1 kB / 0.8896 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.01281, allocations: 49.7 kB / 0.8896 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01293, allocations: 223.5 kB / 0.8898 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.01301, allocations: 138.9 kB / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.01317, allocations: 139.7 kB / 0.8901 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01336, allocations: 0.5234 MB / 0.8906 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.01363, allocations: 384.2 kB / 0.891 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.01397, allocations: 0.4934 MB / 0.8914 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.01457, allocations: 0.6876 MB / 0.8921 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.01458, allocations: 0 / 0.8921 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00074/0.01532, allocations: 0.9985 MB / 0.8931 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.01544, allocations: 275.3 kB / 0.8933 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01544, allocations: 4 kB / 0.8934 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01546, allocations: 7.938 kB / 0.8934 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.01577, allocations: 59.84 kB / 0.8934 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01578, allocations: 4 kB / 0.8934 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.01605, allocations: 111.8 kB / 0.8935 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.01612, allocations: 67.91 kB / 0.8936 GB, free: 6.52 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002067/0.01632, allocations: 334.5 kB / 0.8939 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.0164, allocations: 55.77 kB / 0.894 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.01646, allocations: 43.42 kB / 0.894 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.01646, allocations: 7.938 kB / 0.894 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01647, allocations: 4 kB / 0.894 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01648, allocations: 3.984 kB / 0.894 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.01724, allocations: 0.9656 MB / 0.895 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01724, allocations: 0 / 0.895 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01736, allocations: 63.84 kB / 0.895 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01737, allocations: 0 / 0.895 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.01739, allocations: 15.98 kB / 0.895 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01739, allocations: 4 kB / 0.895 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01739, allocations: 0 / 0.895 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.01785, allocations: 0.7364 MB / 0.8958 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.01788, allocations: 31.69 kB / 0.8958 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.01791, allocations: 11.98 kB / 0.8958 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.01799, allocations: 19.98 kB / 0.8958 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.01806, allocations: 39.94 kB / 0.8959 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.0181, allocations: 43.94 kB / 0.8959 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001062/0.01821, allocations: 206.9 kB / 0.8961 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01821, allocations: 8 kB / 0.8961 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000314/0.01852, allocations: 107.9 kB / 0.8962 GB, free: 3.621 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001403/0.01866, allocations: 120 kB / 0.8963 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.01976, allocations: 1.191 MB / 0.8975 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01977, allocations: 4 kB / 0.8975 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.02004, allocations: 0.5291 MB / 0.898 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.02041, allocations: 93.05 kB / 0.8981 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.02124, allocations: 0.8233 MB / 0.8989 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.834e-05/0.02131, allocations: 105.1 kB / 0.899 GB, free: 380 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.02141, allocations: 51.27 kB / 0.899 GB, free: 328 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.02172, allocations: 218.1 kB / 0.8993 GB, free: 108 kB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.02172, allocations: 0 / 0.8993 GB, free: 108 kB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.03236, allocations: 7.678 MB / 0.9068 GB, free: 8.566 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.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: 6.257403120864183]