Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001059/0.001059, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.002121, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007247/0.0007247, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009283/0.001653, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9545/0.9545, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09305/1.048, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.814/1.814, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5431/2.357, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.524e-05, allocations: 3.281 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001643/0.001658, allocations: 0.913 MB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.006114, allocations: 1.351 MB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.006176, allocations: 0 / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.578e-05/0.006241, allocations: 13.52 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.006325, allocations: 45.83 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.006878, allocations: 255.4 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.007232, allocations: 329.3 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.007354, allocations: 50.77 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.007603, allocations: 207.7 kB / 0.7324 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.007757, allocations: 76.89 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.007796, allocations: 24.59 kB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.007904, allocations: 44.45 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.007961, allocations: 39.86 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.008042, allocations: 56.81 kB / 0.7326 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.008291, allocations: 191.3 kB / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.008303, allocations: 0.875 kB / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.71e-07/0.008304, allocations: 0 / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.008323, allocations: 1.438 kB / 0.7328 GB, free: 1.012 MB / 0.698 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.003629/0.01195, allocations: 494.9 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.01198, allocations: 12.03 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.01224, allocations: 122.7 kB / 0.7334 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.01247, allocations: 189.3 kB / 0.7336 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.01249, allocations: 17.06 kB / 0.7336 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.01252, allocations: 16.38 kB / 0.7336 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.01268, allocations: 128 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.01269, allocations: 192 / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.0127, allocations: 4.375 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01271, allocations: 4.375 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.01276, allocations: 36.56 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.01323, allocations: 0.5227 MB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.0133, allocations: 54.42 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.01332, allocations: 18.31 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.01333, allocations: 0 / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.01346, allocations: 102.2 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.01346, allocations: 0 / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001542/0.01361, allocations: 90.7 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.01365, allocations: 81.11 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01378, allocations: 200 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.01382, allocations: 33.7 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.01389, allocations: 128.9 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.0139, allocations: 19.88 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.01398, allocations: 63.34 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.01407, allocations: 330.8 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.01416, allocations: 103.3 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.01429, allocations: 223.3 kB / 0.7357 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.01443, allocations: 179 kB / 0.7358 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01444, allocations: 1.125 kB / 0.7358 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.003282/0.01772, allocations: 292.9 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.01777, allocations: 68.42 kB / 0.7362 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01777, allocations: 4 kB / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.01778, allocations: 4.5 kB / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.01783, allocations: 16 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01784, allocations: 5.734 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.01801, allocations: 39.92 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.01804, allocations: 17.2 kB / 0.7363 GB, free: 13.09 MB / 0.7136 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 8.874e-05/0.01812, allocations: 136.5 kB / 0.7364 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.01814, allocations: 13.61 kB / 0.7364 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01817, allocations: 17.02 kB / 0.7364 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01818, allocations: 3.938 kB / 0.7364 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01818, allocations: 0 / 0.7364 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01818, allocations: 0.75 kB / 0.7364 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.01829, allocations: 109.8 kB / 0.7365 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01829, allocations: 0.5938 kB / 0.7365 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.01831, allocations: 4.75 kB / 0.7365 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.01832, allocations: 15.91 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01833, allocations: 5.047 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.01833, allocations: 0 / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01833, allocations: 3.938 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.01834, allocations: 9.062 kB / 0.7366 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.035e-05/0.01843, allocations: 85.97 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01844, allocations: 7.984 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.01847, allocations: 4.594 kB / 0.7367 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.01849, allocations: 7.922 kB / 0.7367 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.0185, allocations: 5.125 kB / 0.7367 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.01855, allocations: 59.03 kB / 0.7367 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01855, allocations: 0 / 0.7367 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002022/0.01875, allocations: 48.8 kB / 0.7368 GB, free: 12.52 MB / 0.7136 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.0001008/0.01885, allocations: 89.59 kB / 0.7369 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.01909, allocations: 282.7 kB / 0.7371 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.01909, allocations: 0 / 0.7371 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.01912, allocations: 35.53 kB / 0.7372 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01928, allocations: 35.97 kB / 0.7372 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.01987, allocations: 296.9 kB / 0.7375 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01991, allocations: 74.52 kB / 0.7376 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.01996, allocations: 21.98 kB / 0.7376 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.02009, allocations: 93.69 kB / 0.7377 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/0.02009, allocations: 0 / 0.7377 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.01122/0.03132, allocations: 2.982 MB / 0.7406 GB, free: 8.703 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal/Buildings_12_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: 4.95818845089525]