Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001182/0.001182, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001612/0.001612, allocations: 181 kB / 24.09 MB, free: 416 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/2.031e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001728/0.001748, allocations: 1.271 MB / 0.7888 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.003291, allocations: 1.61 MB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.003388, allocations: 4 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003509, allocations: 31.55 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.003616, allocations: 89.22 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.0043, allocations: 494.9 kB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.004733, allocations: 0.6502 MB / 0.7916 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.004947, allocations: 113.3 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.005269, allocations: 395.3 kB / 0.7921 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.005458, allocations: 173.6 kB / 0.7923 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.00552, allocations: 52 kB / 0.7923 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.005608, allocations: 64.83 kB / 0.7924 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.005673, allocations: 75.69 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.005786, allocations: 163.6 kB / 0.7926 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.006102, allocations: 431.3 kB / 0.793 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006104, allocations: 1.312 kB / 0.793 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.006105, allocations: 0 / 0.793 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.006109, allocations: 0 / 0.793 GB, free: 6.586 MB / 0.7448 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.0008043/0.006913, allocations: 0.9499 MB / 0.7939 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.006953, allocations: 12.03 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.007039, allocations: 76.59 kB / 0.794 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.007311, allocations: 303.1 kB / 0.7943 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.007341, allocations: 32.86 kB / 0.7943 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.007383, allocations: 37.09 kB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.007676, allocations: 346.3 kB / 0.7947 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.007685, allocations: 1.844 kB / 0.7947 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.007701, allocations: 12.38 kB / 0.7947 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007709, allocations: 8.375 kB / 0.7947 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.007842, allocations: 223.8 kB / 0.7949 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.008571, allocations: 0.7076 MB / 0.7956 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.008772, allocations: 289.5 kB / 0.7959 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.00891, allocations: 252.2 kB / 0.7962 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.008922, allocations: 8 kB / 0.7962 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.009133, allocations: 338.9 kB / 0.7965 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.009135, allocations: 0 / 0.7965 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0005152/0.00965, allocations: 0.7772 MB / 0.7972 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.009713, allocations: 191.9 kB / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.00988, allocations: 315 kB / 0.7977 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.009916, allocations: 41.7 kB / 0.7978 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.01002, allocations: 224.5 kB / 0.798 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.01009, allocations: 134.9 kB / 0.7981 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01022, allocations: 143.7 kB / 0.7982 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01036, allocations: 0.5172 MB / 0.7987 GB, free: 200 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.01059, allocations: 388.1 kB / 0.7991 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.01085, allocations: 0.4896 MB / 0.7996 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.01122, allocations: 0.6841 MB / 0.8003 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01122, allocations: 3.938 kB / 0.8003 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007166/0.01194, allocations: 1.008 MB / 0.8013 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.01204, allocations: 271.3 kB / 0.8015 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01204, allocations: 4 kB / 0.8015 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01206, allocations: 8.812 kB / 0.8015 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01219, allocations: 55.91 kB / 0.8016 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01219, allocations: 4.844 kB / 0.8016 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.01244, allocations: 115.1 kB / 0.8017 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.01251, allocations: 67.86 kB / 0.8018 GB, free: 12.68 MB / 0.7605 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.0001594/0.01266, allocations: 333 kB / 0.8021 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.01271, allocations: 58.08 kB / 0.8021 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.01276, allocations: 39.42 kB / 0.8022 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01276, allocations: 11.94 kB / 0.8022 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01277, allocations: 0 / 0.8022 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01277, allocations: 3.984 kB / 0.8022 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.01344, allocations: 0.9545 MB / 0.8031 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01344, allocations: 0 / 0.8031 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01355, allocations: 64.94 kB / 0.8032 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01355, allocations: 4 kB / 0.8032 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.01357, allocations: 12 kB / 0.8032 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01357, allocations: 5.031 kB / 0.8032 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01357, allocations: 3.984 kB / 0.8032 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.01396, allocations: 0.7344 MB / 0.8039 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.01399, allocations: 39.64 kB / 0.804 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.01402, allocations: 9.688 kB / 0.804 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.0141, allocations: 19.97 kB / 0.804 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.01416, allocations: 39.94 kB / 0.804 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.0142, allocations: 47.94 kB / 0.8041 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.01429, allocations: 211.4 kB / 0.8043 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.01429, allocations: 1.344 kB / 0.8043 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002447/0.01453, allocations: 111.9 kB / 0.8044 GB, free: 9.781 MB / 0.7605 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.0001169/0.01465, allocations: 116 kB / 0.8045 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.01527, allocations: 1.196 MB / 0.8057 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01527, allocations: 0 / 0.8057 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.0155, allocations: 0.5205 MB / 0.8062 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.01581, allocations: 104.9 kB / 0.8063 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.01652, allocations: 0.8204 MB / 0.8071 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01664, allocations: 105.1 kB / 0.8072 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.832e-05/0.01673, allocations: 47.27 kB / 0.8072 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.017, allocations: 226.1 kB / 0.8074 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of SimCode: time 8.81e-07/0.017, allocations: 0 / 0.8074 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of Templates: time 0.008708/0.02571, allocations: 7.523 MB / 0.8148 GB, free: 14.91 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.174847710877657]