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.001331/0.001331, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009822/0.0009822, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9361/0.9361, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.755/1.755, allocations: 359 MB / 0.6052 GB, free: 11.02 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.763e-06/1.763e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.023e-05, allocations: 5.672 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00139/0.00141, allocations: 0.8702 MB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.002818, allocations: 1.347 MB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.002889, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.003007, allocations: 23.75 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.003095, allocations: 40.23 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.003717, allocations: 252.7 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.004018, allocations: 335.4 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.004158, allocations: 29.67 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.004371, allocations: 196.8 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.004505, allocations: 80.66 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.004538, allocations: 24 kB / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.004628, allocations: 44.8 kB / 0.7903 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.004687, allocations: 43.78 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.004766, allocations: 82.34 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.005006, allocations: 223.2 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005008, allocations: 0 / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005009, allocations: 0 / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.005017, allocations: 0 / 0.7906 GB, free: 8.91 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.0005333/0.00555, allocations: 0.5732 MB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.005586, allocations: 9.781 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.005845, allocations: 76.75 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.006118, allocations: 208.2 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.006148, allocations: 16.36 kB / 0.7914 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.006174, allocations: 20.91 kB / 0.7915 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.00637, allocations: 147.9 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.00638, allocations: 0.9062 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.006393, allocations: 4.375 kB / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.006403, allocations: 4.906 kB / 0.7916 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.006468, allocations: 57.36 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.007115, allocations: 0.8361 MB / 0.7925 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.0072, allocations: 58.78 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.007233, allocations: 31.36 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.007241, allocations: 0.7812 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.007373, allocations: 101.5 kB / 0.7927 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.007375, allocations: 0 / 0.7927 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000244/0.007619, allocations: 122.8 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.00767, allocations: 81.09 kB / 0.7929 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.007853, allocations: 262.7 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.007877, allocations: 29.7 kB / 0.7931 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.00811, allocations: 196.7 kB / 0.7933 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.008128, allocations: 19.89 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.008217, allocations: 71.33 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.008337, allocations: 0.4962 MB / 0.7939 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.008448, allocations: 115.4 kB / 0.794 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.008594, allocations: 256.8 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.008752, allocations: 203.7 kB / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008755, allocations: 0 / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003404/0.009095, allocations: 346.8 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.009147, allocations: 75.33 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.009154, allocations: 4 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.009169, allocations: 4 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.009226, allocations: 4 kB / 0.7949 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.009234, allocations: 4 kB / 0.7949 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.009409, allocations: 48.94 kB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.009432, allocations: 17.92 kB / 0.7949 GB, free: 4.027 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],conInt3.y,conInt2.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.0001039/0.009536, allocations: 172.5 kB / 0.7951 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.009555, allocations: 19.91 kB / 0.7951 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.009594, allocations: 23.55 kB / 0.7951 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.009599, allocations: 4 kB / 0.7951 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.009604, allocations: 0 / 0.7951 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.009608, allocations: 3.938 kB / 0.7952 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.009735, allocations: 172.5 kB / 0.7953 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.009738, allocations: 4 kB / 0.7953 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.009755, allocations: 8 kB / 0.7953 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009757, allocations: 0.8438 kB / 0.7953 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009766, allocations: 0 / 0.7953 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.009769, allocations: 7.875 kB / 0.7953 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00977, allocations: 4.844 kB / 0.7953 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.009905, allocations: 144 kB / 0.7955 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.009922, allocations: 17.64 kB / 0.7955 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.009935, allocations: 0 / 0.7955 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.009953, allocations: 3.938 kB / 0.7955 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.009985, allocations: 8.828 kB / 0.7955 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.009994, allocations: 8 kB / 0.7955 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.01007, allocations: 173.4 kB / 0.7957 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 0.7188 kB / 0.7957 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001885/0.01026, allocations: 47.89 kB / 0.7957 GB, free: 3.156 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.0001207/0.01038, allocations: 118.1 kB / 0.7958 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01064, allocations: 289.8 kB / 0.7961 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01064, allocations: 0 / 0.7961 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.01068, allocations: 33.58 kB / 0.7961 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01088, allocations: 32.91 kB / 0.7962 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.01126, allocations: 305.8 kB / 0.7965 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.0113, allocations: 73.11 kB / 0.7965 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.01134, allocations: 22.59 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.01136, allocations: 17.78 kB / 0.7966 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01136, allocations: 0 / 0.7966 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.004686/0.01605, allocations: 2.84 MB / 0.7994 GB, free: 15.42 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.025362861808389]