Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 103.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.001114/0.001114, allocations: 196 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 56.31 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 151.7 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002652/0.3354, allocations: 1.151 MB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3375, allocations: 1.514 MB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3377, allocations: 4 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.338, allocations: 27.61 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.3382, allocations: 59.44 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3395, allocations: 498.5 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.3403, allocations: 0.6167 MB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3406, allocations: 164.3 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.341, allocations: 223.5 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.3413, allocations: 219.2 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3415, allocations: 60 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3417, allocations: 75.98 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3418, allocations: 75.7 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.3421, allocations: 227 kB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.3428, allocations: 0.6192 MB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3428, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3428, allocations: 7.938 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.3428, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001118/0.3439, allocations: 0.7395 MB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.344, allocations: 8.922 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3441, allocations: 52.45 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.3451, allocations: 403.9 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.3452, allocations: 28.8 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.3453, allocations: 36.38 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.3457, allocations: 251.8 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3457, allocations: 3.938 kB / 1.026 GB, free: 2.645 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.3457, allocations: 16 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3457, allocations: 4 kB / 1.026 GB, free: 2.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.346, allocations: 161.6 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3474, allocations: 0.8451 MB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3477, allocations: 218.8 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.348, allocations: 206.4 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.348, allocations: 4 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.3483, allocations: 251.8 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.3483, allocations: 0 / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0006929/0.349, allocations: 434.2 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3491, allocations: 118.7 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3494, allocations: 320.4 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.3495, allocations: 37.7 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3496, allocations: 184.5 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.3497, allocations: 55.2 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.3499, allocations: 153.9 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3501, allocations: 338.8 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.3504, allocations: 204.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.3509, allocations: 329 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.3515, allocations: 0.5233 MB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3515, allocations: 8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001088/0.3526, allocations: 0.7325 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.3527, allocations: 126.8 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3527, allocations: 7.938 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3527, allocations: 4.406 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3529, allocations: 55.92 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.353, allocations: 19.86 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.3536, allocations: 127.5 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3537, allocations: 67.92 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002124/0.3539, allocations: 189.6 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.354, allocations: 35.56 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.3545, allocations: 357.3 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3545, allocations: 4 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3546, allocations: 3.938 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3546, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.3555, allocations: 0.7501 MB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3555, allocations: 3.984 kB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.3556, allocations: 43.86 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3556, allocations: 8 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3557, allocations: 12 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3557, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3557, allocations: 0 / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3561, allocations: 432.9 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.3562, allocations: 112.5 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.3562, allocations: 7.984 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3564, allocations: 11.98 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3564, allocations: 31.97 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3565, allocations: 8 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002008/0.3567, allocations: 215 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3567, allocations: 0 / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000403/0.3571, allocations: 95.94 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.000188/0.3573, allocations: 129.4 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008577/0.3582, allocations: 0.6691 MB / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3582, allocations: 0 / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3584, allocations: 143.9 kB / 1.034 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.3589, allocations: 82.31 kB / 1.034 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.36, allocations: 0.5727 MB / 1.035 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3605, allocations: 0.7808 MB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.3607, allocations: 79.11 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.3608, allocations: 35.42 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3608, allocations: 0 / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of Templates: time 0.01026/0.371, allocations: 5.487 MB / 1.041 GB, free: 2.438 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches