Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001006/0.001006, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002607, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002504, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.985/0.985, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.071, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.337/2.337, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2436/2.581, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.51e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001299/0.001314, allocations: 0.9165 MB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002438, allocations: 1.349 MB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.002474, allocations: 0 / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.002521, allocations: 23.8 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.002572, allocations: 39.66 kB / 0.8206 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.002931, allocations: 255.4 kB / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.00316, allocations: 327.4 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.003254, allocations: 38.27 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.003433, allocations: 215.6 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.00354, allocations: 79.77 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.003568, allocations: 27.94 kB / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.003638, allocations: 43.97 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.003675, allocations: 39.86 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.003737, allocations: 59.88 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.003911, allocations: 187.4 kB / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.003918, allocations: 0 / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003919, allocations: 0 / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.003927, allocations: 0 / 0.8218 GB, free: 15.32 MB / 0.8073 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.0003732/0.0043, allocations: 491 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.435e-05/0.004325, allocations: 8.625 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.0045, allocations: 129.9 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004654, allocations: 185.2 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.004669, allocations: 20.31 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.004788, allocations: 20.38 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004894, allocations: 134.2 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.004899, allocations: 192 / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004907, allocations: 8.375 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.004911, allocations: 384 / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.004946, allocations: 31.86 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.005276, allocations: 0.5227 MB / 0.8233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.005323, allocations: 49.25 kB / 0.8233 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.005337, allocations: 17.77 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.005344, allocations: 8 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.005446, allocations: 92.95 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005447, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001395/0.005587, allocations: 89.53 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.005621, allocations: 81.09 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.005746, allocations: 203.4 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.005768, allocations: 29.7 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.00582, allocations: 128.2 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.005832, allocations: 23.83 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.005891, allocations: 57.64 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.005959, allocations: 330.8 kB / 0.8243 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.006027, allocations: 103.4 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.006123, allocations: 219.3 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.006232, allocations: 184.9 kB / 0.8248 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006235, allocations: 4 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001816/0.006416, allocations: 292.2 kB / 0.8251 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.006455, allocations: 67.39 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.006459, allocations: 4 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.006466, allocations: 8.406 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.006504, allocations: 11.94 kB / 0.8252 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006507, allocations: 4.188 kB / 0.8252 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.006643, allocations: 47.91 kB / 0.8252 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.006658, allocations: 11.94 kB / 0.8253 GB, free: 11.38 MB / 0.8073 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 6.935e-05/0.006728, allocations: 134.8 kB / 0.8254 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.00674, allocations: 15.97 kB / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.006765, allocations: 17.03 kB / 0.8254 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006767, allocations: 3.938 kB / 0.8254 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006768, allocations: 7.938 kB / 0.8254 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006771, allocations: 4 kB / 0.8254 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.245e-05/0.006843, allocations: 101.8 kB / 0.8255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006845, allocations: 4 kB / 0.8255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.006858, allocations: 4 kB / 0.8255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.00687, allocations: 11.91 kB / 0.8255 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006871, allocations: 0 / 0.8255 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.006875, allocations: 0 / 0.8255 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006876, allocations: 4 kB / 0.8255 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.006879, allocations: 7.922 kB / 0.8256 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.928e-05/0.006948, allocations: 97.89 kB / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.006957, allocations: 4 kB / 0.8257 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.555e-05/0.006973, allocations: 7.984 kB / 0.8257 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.006988, allocations: 7.938 kB / 0.8257 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006991, allocations: 4 kB / 0.8257 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.007026, allocations: 55.09 kB / 0.8257 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007026, allocations: 0 / 0.8257 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001338/0.00716, allocations: 43.89 kB / 0.8258 GB, free: 10.8 MB / 0.8073 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 7.265e-05/0.007232, allocations: 88.41 kB / 0.8259 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.007408, allocations: 282.9 kB / 0.8261 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.007411, allocations: 0 / 0.8261 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.007435, allocations: 28.91 kB / 0.8261 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.007557, allocations: 43.97 kB / 0.8262 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.008002, allocations: 297.2 kB / 0.8265 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.008035, allocations: 75.98 kB / 0.8265 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.008067, allocations: 17.48 kB / 0.8266 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.008169, allocations: 95.31 kB / 0.8267 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of SimCode: time 3.9e-07/0.008169, allocations: 3.938 kB / 0.8267 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.003805/0.01197, allocations: 2.984 MB / 0.8296 GB, free: 6.875 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.ref.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.100993916392326]