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.01058/0.01058, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.002135/0.002135, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.449/1.449, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.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.676/2.676, allocations: 437 MB / 0.7106 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7068, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002699/0.7096, allocations: 1.208 MB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.7119, allocations: 1.573 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.7121, allocations: 7.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.7123, allocations: 23.64 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.7125, allocations: 43.69 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.7137, allocations: 457.3 kB / 1.021 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.7143, allocations: 0.5113 MB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.7146, allocations: 140.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.715, allocations: 199.4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.7152, allocations: 171.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.7154, allocations: 28 kB / 1.022 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.7155, allocations: 47.92 kB / 1.022 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.7156, allocations: 71.69 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.7159, allocations: 187.1 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.7164, allocations: 484.9 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7164, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7164, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.7165, allocations: 0 / 1.022 GB, free: 13.66 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00117/0.7176, allocations: 0.7488 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7177, allocations: 11.97 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.7178, allocations: 48.47 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7189, allocations: 396 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.719, allocations: 28.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.7191, allocations: 36.38 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.7195, allocations: 251.8 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.7195, allocations: 3.938 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.7196, allocations: 15.94 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7196, allocations: 4 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.7199, allocations: 165.6 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.7213, allocations: 0.8451 MB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.7216, allocations: 218.8 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.7219, allocations: 204.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.7219, allocations: 4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.7223, allocations: 250 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.452e-06/0.7223, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007309/0.723, allocations: 431.6 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.7231, allocations: 118.7 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.7234, allocations: 324.3 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.7235, allocations: 37.7 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.7236, allocations: 184.5 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.7237, allocations: 63.25 kB / 1.027 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.724, allocations: 149.9 kB / 1.027 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7241, allocations: 338.8 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.7245, allocations: 208.7 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.7249, allocations: 328.9 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.7255, allocations: 0.5233 MB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7255, allocations: 4 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001099/0.7266, allocations: 0.7327 MB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.7267, allocations: 130.8 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7267, allocations: 0 / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.7268, allocations: 8.406 kB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.727, allocations: 51.92 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.727, allocations: 19.86 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.7276, allocations: 135.4 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7278, allocations: 67.92 kB / 1.029 GB, free: 6.215 MB / 0.7794 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.0002314/0.728, allocations: 185.7 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.7281, allocations: 31.62 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.7286, allocations: 373.4 kB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7286, allocations: 4 kB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7286, allocations: 3.938 kB / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.7286, allocations: 0 / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.7295, allocations: 0.748 MB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7296, allocations: 7.922 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.7297, allocations: 39.86 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7297, allocations: 4 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.7297, allocations: 4 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7297, allocations: 4 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7297, allocations: 0 / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.7302, allocations: 431.5 kB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.7303, allocations: 120.5 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.7304, allocations: 7.984 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7305, allocations: 12 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.7306, allocations: 23.97 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.7306, allocations: 11.98 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002104/0.7308, allocations: 215.1 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7308, allocations: 0 / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004171/0.7312, allocations: 96 kB / 1.031 GB, free: 3.82 MB / 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: 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.7314, allocations: 125.4 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008407/0.7323, allocations: 0.6698 MB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7323, allocations: 4.188 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.7325, allocations: 151.8 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.733, allocations: 76.97 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.734, allocations: 0.6802 MB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.7343, allocations: 0.7771 MB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.7344, allocations: 43.42 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7344, allocations: 0 / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of Templates: time 0.008405/0.7428, allocations: 4.957 MB / 1.039 GB, free: 12.27 MB / 0.795 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 -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