Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9911/0.9911, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.2e-05, allocations: 5.578 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001952/0.001974, allocations: 0.8587 MB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.003834, allocations: 1.342 MB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.003911, allocations: 8.719 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.00404, allocations: 15.8 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.751e-05/0.004137, allocations: 36.66 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.004875, allocations: 259.4 kB / 0.7908 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.005283, allocations: 329.8 kB / 0.7911 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.005438, allocations: 41.66 kB / 0.7911 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.005722, allocations: 191.6 kB / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.005895, allocations: 75.83 kB / 0.7914 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.005939, allocations: 25.84 kB / 0.7914 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.006039, allocations: 43.91 kB / 0.7914 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.006109, allocations: 43.84 kB / 0.7915 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.006207, allocations: 79.81 kB / 0.7916 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.006507, allocations: 227.8 kB / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.006509, allocations: 0 / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00651, allocations: 1.438 kB / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.006515, allocations: 0 / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006586/0.007174, allocations: 0.5693 MB / 0.7923 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.007213, allocations: 13.41 kB / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.007505, allocations: 68.7 kB / 0.7924 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.007776, allocations: 208.2 kB / 0.7926 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.007802, allocations: 12.38 kB / 0.7926 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.007836, allocations: 22.12 kB / 0.7926 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.008022, allocations: 142.8 kB / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.008031, allocations: 192 / 0.7928 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.008046, allocations: 8.359 kB / 0.7928 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.008052, allocations: 1.469 kB / 0.7928 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.008112, allocations: 35.86 kB / 0.7928 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.008752, allocations: 0.7955 MB / 0.7936 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.008836, allocations: 66.27 kB / 0.7937 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.008863, allocations: 19.38 kB / 0.7937 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.008869, allocations: 0 / 0.7937 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.009007, allocations: 118.9 kB / 0.7938 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.009008, allocations: 0 / 0.7938 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002377/0.009246, allocations: 109.8 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.009292, allocations: 85.05 kB / 0.794 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.009483, allocations: 262.6 kB / 0.7942 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.00952, allocations: 29.7 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.009638, allocations: 191.7 kB / 0.7944 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.009657, allocations: 20.41 kB / 0.7945 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.009763, allocations: 67.31 kB / 0.7945 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.009924, allocations: 0.5095 MB / 0.795 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.01005, allocations: 99.38 kB / 0.7951 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.01024, allocations: 255.5 kB / 0.7954 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.01043, allocations: 186.7 kB / 0.7955 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01043, allocations: 1.156 kB / 0.7955 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004251/0.01085, allocations: 333 kB / 0.7959 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.01091, allocations: 69.73 kB / 0.7959 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01092, allocations: 0.8438 kB / 0.7959 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01093, allocations: 7.938 kB / 0.7959 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.01099, allocations: 25.14 kB / 0.796 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.011, allocations: 4 kB / 0.796 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.01122, allocations: 36.77 kB / 0.796 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.01125, allocations: 17.17 kB / 0.796 GB, free: 3.902 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001287/0.01138, allocations: 167 kB / 0.7962 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01142, allocations: 29.23 kB / 0.7962 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.01146, allocations: 13.03 kB / 0.7962 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01146, allocations: 3.938 kB / 0.7962 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01147, allocations: 1.531 kB / 0.7962 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.01148, allocations: 8 kB / 0.7962 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.01163, allocations: 141.1 kB / 0.7964 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01164, allocations: 0 / 0.7964 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.01166, allocations: 14.75 kB / 0.7964 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.01166, allocations: 4 kB / 0.7964 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.01167, allocations: 0 / 0.7964 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01167, allocations: 0 / 0.7964 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01167, allocations: 4 kB / 0.7964 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01185, allocations: 132 kB / 0.7965 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.01187, allocations: 15.89 kB / 0.7965 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01189, allocations: 4 kB / 0.7965 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.01192, allocations: 0.5 kB / 0.7965 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.01195, allocations: 20.39 kB / 0.7965 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01196, allocations: 1.781 kB / 0.7965 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001095/0.01207, allocations: 177.3 kB / 0.7967 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01207, allocations: 0 / 0.7967 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003159/0.01238, allocations: 43.89 kB / 0.7968 GB, free: 3.086 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001424/0.01253, allocations: 108.6 kB / 0.7969 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.01287, allocations: 278.8 kB / 0.7971 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01287, allocations: 0 / 0.7971 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.01291, allocations: 32.27 kB / 0.7972 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.01319, allocations: 41.53 kB / 0.7972 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.01366, allocations: 294.5 kB / 0.7975 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.266e-05/0.01372, allocations: 75.92 kB / 0.7976 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.01377, allocations: 20.11 kB / 0.7976 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.01393, allocations: 126.1 kB / 0.7977 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01393, allocations: 0 / 0.7977 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.005238/0.01917, allocations: 2.906 MB / 0.8005 GB, free: 15.21 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.087065960280597]