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.0009308/0.0009308, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009235/0.0009235, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.949/0.949, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.709/1.709, allocations: 359 MB / 0.6055 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 2.204e-06/2.204e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.27e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.004976/0.005008, allocations: 0.851 MB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.006866, allocations: 1.348 MB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.006948, allocations: 7.938 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.007076, allocations: 15.81 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.007165, allocations: 35.7 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.01108, allocations: 261.8 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.01146, allocations: 327.4 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.01161, allocations: 37.66 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.01186, allocations: 195.6 kB / 0.7906 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.01202, allocations: 85.56 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.01206, allocations: 24 kB / 0.7907 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.01216, allocations: 39.98 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.01222, allocations: 43.84 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.01231, allocations: 80.41 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.01259, allocations: 219.3 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0126, allocations: 1.406 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0126, allocations: 0 / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.0126, allocations: 0 / 0.791 GB, free: 8.621 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.003648/0.01625, allocations: 0.582 MB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.0163, allocations: 12.03 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.01657, allocations: 60.77 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.0168, allocations: 205 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.01683, allocations: 12.38 kB / 0.7919 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.01685, allocations: 21.28 kB / 0.7919 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.01702, allocations: 151.9 kB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.01703, allocations: 2.781 kB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.01704, allocations: 8.375 kB / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01705, allocations: 384 / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.0171, allocations: 39.84 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.0177, allocations: 0.7897 MB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.867e-05/0.01778, allocations: 66.78 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.0178, allocations: 24.08 kB / 0.7929 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.01781, allocations: 0 / 0.7929 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.01795, allocations: 114.5 kB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.01795, allocations: 0 / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002098/0.01816, allocations: 105.5 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.0182, allocations: 85.09 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01837, allocations: 255.1 kB / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.0184, allocations: 33.7 kB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01851, allocations: 191.5 kB / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.01853, allocations: 20.7 kB / 0.7937 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.01862, allocations: 71.3 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01876, allocations: 0.5012 MB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.01887, allocations: 107.4 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.02098, allocations: 247.6 kB / 0.7946 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.02119, allocations: 191.9 kB / 0.7948 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02119, allocations: 3.938 kB / 0.7948 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003809/0.02158, allocations: 333.9 kB / 0.7951 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.02164, allocations: 71.39 kB / 0.7952 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.02164, allocations: 0.8438 kB / 0.7952 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.02166, allocations: 7.938 kB / 0.7952 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.02172, allocations: 13.16 kB / 0.7952 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.02172, allocations: 4 kB / 0.7952 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.02194, allocations: 49.22 kB / 0.7953 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.02197, allocations: 12 kB / 0.7953 GB, free: 3.855 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.0001101/0.02208, allocations: 174.1 kB / 0.7954 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.0221, allocations: 19.91 kB / 0.7955 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.02214, allocations: 17.03 kB / 0.7955 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.02214, allocations: 14.64 kB / 0.7955 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.02214, allocations: 0 / 0.7955 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.02215, allocations: 4 kB / 0.7955 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.02226, allocations: 137.1 kB / 0.7956 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02226, allocations: 0 / 0.7956 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.02228, allocations: 4 kB / 0.7956 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.02228, allocations: 4 kB / 0.7956 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.02229, allocations: 4.484 kB / 0.7956 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.02229, allocations: 0 / 0.7956 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.02229, allocations: 4.531 kB / 0.7956 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.02241, allocations: 145.8 kB / 0.7958 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.02243, allocations: 11.91 kB / 0.7958 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.02244, allocations: 8 kB / 0.7958 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.02246, allocations: 0 / 0.7958 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.02249, allocations: 11.92 kB / 0.7958 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.02249, allocations: 0.8438 kB / 0.7958 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.02256, allocations: 173.4 kB / 0.796 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02256, allocations: 0 / 0.796 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001707/0.02273, allocations: 52.72 kB / 0.796 GB, free: 3.031 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.0001298/0.02286, allocations: 106.2 kB / 0.7961 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.02309, allocations: 288.5 kB / 0.7964 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.0231, allocations: 4 kB / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.02313, allocations: 27.67 kB / 0.7964 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.02333, allocations: 37.89 kB / 0.7965 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.02371, allocations: 302.4 kB / 0.7968 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.02375, allocations: 75.98 kB / 0.7968 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.02379, allocations: 15.55 kB / 0.7968 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.02391, allocations: 123.3 kB / 0.797 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of SimCode: time 9.41e-07/0.02391, allocations: 0 / 0.797 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.004452/0.02837, allocations: 2.857 MB / 0.7997 GB, free: 15.2 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: 4.835689776111394]