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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001725/0.001725, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002035/0.002035, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 66.45 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.309, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00259/0.3116, allocations: 1.378 MB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3138, allocations: 1.622 MB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.314, allocations: 7.938 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3141, allocations: 27.72 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.3143, allocations: 55.56 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3153, allocations: 454.4 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.3158, allocations: 0.5739 MB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.3161, allocations: 157.1 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3164, allocations: 215.3 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.3166, allocations: 195.2 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.3167, allocations: 32 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3168, allocations: 55.92 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.3169, allocations: 71.75 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3172, allocations: 218.9 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.3179, allocations: 0.6386 MB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3179, allocations: 0 / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3179, allocations: 0 / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3179, allocations: 0 / 1.058 GB, free: 3.137 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.001313/0.3192, allocations: 0.9429 MB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3193, allocations: 12.03 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3194, allocations: 48.47 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3208, allocations: 475.8 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.3209, allocations: 24.94 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.321, allocations: 44.36 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.3216, allocations: 325.2 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3217, allocations: 3.938 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3217, allocations: 8 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.3217, allocations: 8 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.3224, allocations: 262 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.324, allocations: 0.9237 MB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.3247, allocations: 375.2 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.3252, allocations: 289.7 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3252, allocations: 4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006222/0.3259, allocations: 319 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.3259, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001543/0.3274, allocations: 0.8371 MB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.3275, allocations: 199.8 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.3278, allocations: 280.5 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.328, allocations: 49.69 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3281, allocations: 160.9 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3283, allocations: 134.2 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.3285, allocations: 138.1 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3287, allocations: 346.8 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.3293, allocations: 276.8 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.33, allocations: 365.8 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.3312, allocations: 0.9012 MB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3312, allocations: 3.938 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00168/0.3329, allocations: 0.9975 MB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.333, allocations: 259.6 kB / 1.066 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.333, allocations: 4 kB / 1.066 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3331, allocations: 4 kB / 1.066 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3334, allocations: 71.83 kB / 1.066 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.3334, allocations: 4 kB / 1.066 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.3341, allocations: 143.5 kB / 1.067 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3342, allocations: 71.86 kB / 1.067 GB, free: 9.324 MB / 0.8262 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.0003296/0.3346, allocations: 315.5 kB / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.3346, allocations: 43.53 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.3347, allocations: 43.48 kB / 1.067 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3347, allocations: 7.984 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3348, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3348, allocations: 3.984 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.3365, allocations: 1.191 MB / 1.068 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3365, allocations: 0 / 1.068 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3367, allocations: 63.89 kB / 1.068 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3367, allocations: 0 / 1.068 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.3368, allocations: 19.98 kB / 1.068 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3368, allocations: 0 / 1.068 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3368, allocations: 7.938 kB / 1.068 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.338, allocations: 0.7651 MB / 1.069 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.338, allocations: 108.6 kB / 1.069 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.3381, allocations: 20 kB / 1.069 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3383, allocations: 31.95 kB / 1.069 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3384, allocations: 39.84 kB / 1.069 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.3385, allocations: 47.94 kB / 1.069 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001887/0.3387, allocations: 199.1 kB / 1.069 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.312e-06/0.3387, allocations: 3.938 kB / 1.069 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004403/0.3392, allocations: 107.9 kB / 1.07 GB, free: 6.133 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.0001867/0.3394, allocations: 123.9 kB / 1.07 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.3409, allocations: 1.109 MB / 1.071 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3409, allocations: 0 / 1.071 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.3415, allocations: 0.5167 MB / 1.071 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.3421, allocations: 84.72 kB / 1.071 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3439, allocations: 0.9057 MB / 1.072 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.3446, allocations: 0.8005 MB / 1.073 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.3449, allocations: 95.14 kB / 1.073 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.345, allocations: 31.44 kB / 1.073 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.345, allocations: 0 / 1.073 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.01226/0.3572, allocations: 6.114 MB / 1.079 GB, free: 12.2 MB / 0.8419 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","/var/lib/jenkins/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