Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_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.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 151.6 MB / 1.176 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002142/0.3007, allocations: 0.8758 MB / 1.177 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3024, allocations: 1.296 MB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3025, allocations: 0 / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3026, allocations: 27.73 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.3027, allocations: 19.78 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.3035, allocations: 262.9 kB / 1.178 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3039, allocations: 351.2 kB / 1.179 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3041, allocations: 57.41 kB / 1.179 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3042, allocations: 135.7 kB / 1.179 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3044, allocations: 103.7 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.3045, allocations: 32 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3046, allocations: 51.92 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.3047, allocations: 47.84 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3048, allocations: 115.5 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3052, allocations: 350.7 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3053, allocations: 0 / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3053, allocations: 0 / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3053, allocations: 0 / 1.179 GB, free: 2.324 MB / 0.92 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.0007326/0.306, allocations: 0.5564 MB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3061, allocations: 12.03 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.3061, allocations: 28.8 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.3068, allocations: 300 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3068, allocations: 12.38 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.3069, allocations: 20.38 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3071, allocations: 149.6 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3071, allocations: 3.938 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3071, allocations: 7.984 kB / 1.181 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3072, allocations: 4 kB / 1.181 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3073, allocations: 63.91 kB / 1.181 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.3081, allocations: 0.7548 MB / 1.181 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.3082, allocations: 61.14 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.3083, allocations: 25.77 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3083, allocations: 3.938 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.3085, allocations: 105 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3085, allocations: 0 / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0003201/0.3088, allocations: 125.6 kB / 1.182 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3089, allocations: 85.09 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3091, allocations: 211.8 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3092, allocations: 33.7 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3093, allocations: 156.1 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3093, allocations: 15.91 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3094, allocations: 65.67 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3096, allocations: 326.8 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3097, allocations: 63.95 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.3099, allocations: 147 kB / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3102, allocations: 198.1 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3102, allocations: 4 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004938/0.3107, allocations: 288.8 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.3108, allocations: 71.39 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3108, allocations: 0 / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3108, allocations: 4 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.3109, allocations: 20.11 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3109, allocations: 0 / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.3113, allocations: 71.81 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3114, allocations: 12 kB / 1.183 GB, free: 13.99 MB / 0.9356 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.0001557/0.3115, allocations: 155.4 kB / 1.183 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3116, allocations: 19.91 kB / 1.183 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.3116, allocations: 16.94 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3116, allocations: 0 / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3116, allocations: 4 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3116, allocations: 3.984 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3119, allocations: 229.5 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3119, allocations: 0 / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.3119, allocations: 7.984 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3119, allocations: 0 / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3119, allocations: 4 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3119, allocations: 4 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3119, allocations: 0 / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3121, allocations: 137.8 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.3122, allocations: 92.95 kB / 1.184 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3122, allocations: 7.984 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.3123, allocations: 4 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.3123, allocations: 0 / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3123, allocations: 11.98 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001282/0.3125, allocations: 144.2 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3125, allocations: 0 / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002704/0.3127, allocations: 47.89 kB / 1.184 GB, free: 13.02 MB / 0.9356 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.0001604/0.3129, allocations: 113.9 kB / 1.184 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.3133, allocations: 258.9 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3133, allocations: 4.062 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.098e-05/0.3134, allocations: 40.2 kB / 1.185 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3137, allocations: 39.98 kB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3142, allocations: 338.1 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3146, allocations: 0.728 MB / 1.186 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3146, allocations: 19.44 kB / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3146, allocations: 0 / 1.186 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.004744/0.3194, allocations: 2.585 MB / 1.188 GB, free: 8.844 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.971410859958269]