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.001504/0.001504, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001629/0.001629, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 61.16 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002615/0.3356, allocations: 1.357 MB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3378, allocations: 1.549 MB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3379, allocations: 7.938 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.3382, allocations: 35.55 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3383, allocations: 63.38 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3395, allocations: 0.4972 MB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.3402, allocations: 0.6911 MB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.3406, allocations: 168.9 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3408, allocations: 247.4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3411, allocations: 247.1 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.3412, allocations: 68 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3414, allocations: 75.98 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.3415, allocations: 75.77 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3418, allocations: 250.9 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.3424, allocations: 0.6892 MB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3424, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3424, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3424, allocations: 0 / 1.033 GB, free: 11.99 MB / 0.8106 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.001227/0.3436, allocations: 0.939 MB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3437, allocations: 8.031 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3438, allocations: 48.47 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.345, allocations: 479.7 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.3451, allocations: 24.94 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.3451, allocations: 48.36 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.3458, allocations: 317.3 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3458, allocations: 3.938 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3458, allocations: 8 kB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3458, allocations: 8 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.3465, allocations: 258 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.348, allocations: 0.9042 MB / 1.036 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.3487, allocations: 382.6 kB / 1.036 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.3492, allocations: 286.1 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3492, allocations: 4 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.3497, allocations: 323 kB / 1.036 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.3498, allocations: 0 / 1.036 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.001531/0.3513, allocations: 0.8311 MB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3514, allocations: 191.9 kB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.3517, allocations: 288.5 kB / 1.038 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.3518, allocations: 45.7 kB / 1.038 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3519, allocations: 164.8 kB / 1.038 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.352, allocations: 130.2 kB / 1.038 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3523, allocations: 134.1 kB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3524, allocations: 350.8 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.353, allocations: 272.8 kB / 1.039 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.3536, allocations: 365.8 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3547, allocations: 0.9167 MB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3548, allocations: 3.938 kB / 1.04 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001585/0.3563, allocations: 1.002 MB / 1.041 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.3565, allocations: 259.3 kB / 1.041 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3565, allocations: 0 / 1.041 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3565, allocations: 4 kB / 1.041 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3568, allocations: 71.83 kB / 1.041 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.3568, allocations: 4 kB / 1.041 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.3575, allocations: 135.6 kB / 1.041 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3576, allocations: 71.92 kB / 1.042 GB, free: 2.199 MB / 0.8106 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.0002795/0.3579, allocations: 326.1 kB / 1.042 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.358, allocations: 39.53 kB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.358, allocations: 43.48 kB / 1.042 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.358, allocations: 4 kB / 1.042 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3581, allocations: 0 / 1.042 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3581, allocations: 3.984 kB / 1.042 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3598, allocations: 1.191 MB / 1.043 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3598, allocations: 0 / 1.043 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.36, allocations: 63.89 kB / 1.043 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.36, allocations: 4 kB / 1.043 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3601, allocations: 16 kB / 1.043 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3601, allocations: 0 / 1.043 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3601, allocations: 3.938 kB / 1.043 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3612, allocations: 0.7665 MB / 1.044 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.3613, allocations: 116.6 kB / 1.044 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3613, allocations: 8 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3615, allocations: 27.97 kB / 1.044 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.3616, allocations: 51.7 kB / 1.044 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.3617, allocations: 47.94 kB / 1.044 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000189/0.3619, allocations: 195.1 kB / 1.044 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3619, allocations: 4 kB / 1.044 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004445/0.3624, allocations: 107.9 kB / 1.044 GB, free: 15.01 MB / 0.8262 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.0002091/0.3626, allocations: 118.6 kB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.3641, allocations: 1.109 MB / 1.046 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3641, allocations: 4 kB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.3647, allocations: 0.5163 MB / 1.046 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.3652, allocations: 93.02 kB / 1.046 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3665, allocations: 0.794 MB / 1.047 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3669, allocations: 0.7963 MB / 1.048 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3671, allocations: 91.2 kB / 1.048 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.3672, allocations: 35.44 kB / 1.048 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3672, allocations: 0 / 1.048 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.01098/0.3782, allocations: 6.551 MB / 1.054 GB, free: 4.754 MB / 0.8262 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches