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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001232, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001276, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7828, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001551/0.7844, allocations: 0.9844 MB / 1.022 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.7864, allocations: 1.456 MB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.7866, allocations: 3.938 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.7867, allocations: 27.78 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.7868, allocations: 63.81 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.788, allocations: 427.8 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.7884, allocations: 328.4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.7887, allocations: 123.9 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.7889, allocations: 191.5 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.7891, allocations: 163.4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.7892, allocations: 24 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.7893, allocations: 35.98 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.7894, allocations: 55.77 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.7895, allocations: 85.52 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.79, allocations: 0.5044 MB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.79, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.454e-06/0.79, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7901, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 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.001449/0.7915, allocations: 0.8648 MB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.7916, allocations: 11.98 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.7917, allocations: 47.53 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.7932, allocations: 0.4902 MB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.7933, allocations: 24.56 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.7934, allocations: 47.94 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.7941, allocations: 328.8 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.7942, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.7942, allocations: 12 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.7942, allocations: 11.94 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.7949, allocations: 282 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.7967, allocations: 0.9316 MB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.7974, allocations: 378.7 kB / 1.028 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7974, allocations: 4.125 kB / 1.028 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/0.798, allocations: 335 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.514e-06/0.7981, allocations: 0 / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001581/0.7996, allocations: 0.8733 MB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.7998, allocations: 187.9 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.8001, allocations: 284.5 kB / 1.03 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.8002, allocations: 41.7 kB / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.8004, allocations: 172.8 kB / 1.03 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.8005, allocations: 138.1 kB / 1.03 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.8006, allocations: 16 kB / 1.03 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.8008, allocations: 354.7 kB / 1.031 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.8014, allocations: 288.8 kB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.802, allocations: 369.8 kB / 1.031 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.8027, allocations: 0.5311 MB / 1.032 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8027, allocations: 0 / 1.032 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001593/0.8043, allocations: 1.025 MB / 1.033 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.8045, allocations: 255.3 kB / 1.033 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8045, allocations: 4 kB / 1.033 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.8045, allocations: 4 kB / 1.033 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.8048, allocations: 75.92 kB / 1.033 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8049, allocations: 8 kB / 1.033 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.8056, allocations: 187.5 kB / 1.033 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8058, allocations: 71.84 kB / 1.034 GB, free: 3.562 MB / 0.7794 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,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.8061, allocations: 318.3 kB / 1.034 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.8061, allocations: 39.48 kB / 1.034 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.8062, allocations: 39.48 kB / 1.034 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8062, allocations: 4 kB / 1.034 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8062, allocations: 0 / 1.034 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.8063, allocations: 7.984 kB / 1.034 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.808, allocations: 1.217 MB / 1.035 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.808, allocations: 4 kB / 1.035 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.8083, allocations: 71.89 kB / 1.035 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8083, allocations: 0 / 1.035 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.8083, allocations: 8 kB / 1.035 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8083, allocations: 8 kB / 1.035 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.8083, allocations: 3.984 kB / 1.035 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.8094, allocations: 0.7889 MB / 1.036 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.8095, allocations: 108.7 kB / 1.036 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.8096, allocations: 8 kB / 1.036 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.8098, allocations: 39.97 kB / 1.036 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.8099, allocations: 39.84 kB / 1.036 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.81, allocations: 51.88 kB / 1.036 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001822/0.8102, allocations: 203 kB / 1.036 GB, free: 440 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8102, allocations: 0 / 1.036 GB, free: 440 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004183/0.8106, allocations: 107.8 kB / 1.037 GB, free: 332 kB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.8108, allocations: 119.2 kB / 1.037 GB, free: 200 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.8122, allocations: 1.128 MB / 1.038 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8122, allocations: 0.5625 kB / 1.038 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.8128, allocations: 0.5242 MB / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.8133, allocations: 80.55 kB / 1.038 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.8145, allocations: 0.865 MB / 1.039 GB, free: 13.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.8148, allocations: 0.8043 MB / 1.04 GB, free: 12.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.8151, allocations: 95.19 kB / 1.04 GB, free: 12.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.8151, allocations: 35.44 kB / 1.04 GB, free: 12.45 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.8152, allocations: 0 / 1.04 GB, free: 12.45 MB / 0.795 GB Notification: Performance of Templates: time 0.01133/0.8265, allocations: 5.857 MB / 1.046 GB, free: 6.676 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches