Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001404/0.001404, 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.001655/0.001655, allocations: 198.2 kB / 16.14 MB, free: 6.719 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7094, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002553/0.712, allocations: 1.385 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.7141, allocations: 1.623 MB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.7142, allocations: 7.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.7144, allocations: 19.8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.7145, allocations: 51.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.7156, allocations: 471.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.716, allocations: 0.5544 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.7163, allocations: 166.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.7166, allocations: 215.3 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.7168, allocations: 207.1 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.7169, allocations: 35.94 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.717, allocations: 43.97 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.7172, allocations: 67.77 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.7175, allocations: 214.9 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006864/0.7182, allocations: 0.6464 MB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7182, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7182, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.7182, allocations: 4 kB / 1.022 GB, free: 13.12 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.001257/0.7195, allocations: 0.9428 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7195, allocations: 8.031 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.7196, allocations: 52.47 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.721, allocations: 475.8 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.721, allocations: 28.94 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.7211, allocations: 40.38 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.7217, allocations: 321.3 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7218, allocations: 3.938 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.7218, allocations: 15.98 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.7218, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.7225, allocations: 254.1 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.724, allocations: 0.9121 MB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.7247, allocations: 380.5 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.7252, allocations: 288 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.7252, allocations: 8 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.7258, allocations: 326.9 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.906e-06/0.7258, allocations: 0 / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001668/0.7275, allocations: 0.8381 MB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7276, allocations: 191.9 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.728, allocations: 296.4 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.728, allocations: 41.7 kB / 1.027 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.7282, allocations: 160.9 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.7283, allocations: 134.1 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.7286, allocations: 130.1 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7287, allocations: 350.8 kB / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.7293, allocations: 280.8 kB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.73, allocations: 357.8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.7313, allocations: 0.9128 MB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.7313, allocations: 3.938 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001741/0.733, allocations: 0.9936 MB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.7332, allocations: 259.3 kB / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7332, allocations: 4 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7333, allocations: 4 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.7335, allocations: 72.11 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.7336, allocations: 7.938 kB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.7343, allocations: 147.5 kB / 1.031 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.7345, allocations: 67.92 kB / 1.031 GB, free: 3.305 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,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.0003814/0.7349, allocations: 314.2 kB / 1.031 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.735, allocations: 47.45 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.735, allocations: 31.5 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7351, allocations: 8 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.7351, allocations: 7.984 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7351, allocations: 0 / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.737, allocations: 1.21 MB / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.737, allocations: 0 / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.7373, allocations: 63.89 kB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.7373, allocations: 4 kB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.7373, allocations: 8 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.7373, allocations: 7.984 kB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7373, allocations: 3.938 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.7385, allocations: 0.7613 MB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.7386, allocations: 116.7 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.7386, allocations: 8 kB / 1.034 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.7389, allocations: 27.97 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.739, allocations: 39.89 kB / 1.034 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.7391, allocations: 51.88 kB / 1.034 GB, free: 424 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000195/0.7393, allocations: 203.1 kB / 1.034 GB, free: 220 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7393, allocations: 0 / 1.034 GB, free: 220 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004463/0.7397, allocations: 107.8 kB / 1.034 GB, free: 112 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 (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.0002107/0.74, allocations: 116.3 kB / 1.034 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.7415, allocations: 1.112 MB / 1.035 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7415, allocations: 0 / 1.035 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.7422, allocations: 0.5208 MB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.7428, allocations: 84.52 kB / 1.036 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.7443, allocations: 0.909 MB / 1.037 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.7447, allocations: 0.7926 MB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.745, allocations: 95.19 kB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.745, allocations: 35.44 kB / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.745, allocations: 0 / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of Templates: time 0.01197/0.757, allocations: 6.087 MB / 1.044 GB, free: 6.199 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches