Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001196/0.001196, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002733, 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.001104/0.001104, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002536, 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.9622/0.9622, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09012/1.052, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.845/1.845, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5154/2.36, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.378e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001332/0.001356, allocations: 0.7605 MB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002567, allocations: 1.299 MB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.002627, allocations: 3.938 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.461e-05/0.002692, allocations: 11.12 kB / 0.7313 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.00274, allocations: 24.33 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.003231, allocations: 234.4 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.003501, allocations: 244.4 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00361, allocations: 23.81 kB / 0.7318 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.003821, allocations: 163.8 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.00396, allocations: 65.03 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.003987, allocations: 16 kB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.004084, allocations: 29.7 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.00413, allocations: 31.92 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.004187, allocations: 43.88 kB / 0.7322 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.004373, allocations: 143.6 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.004386, allocations: 0.8125 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004387, allocations: 0 / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.004403, allocations: 0 / 0.7323 GB, free: 1.504 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000497/0.0049, allocations: 444.4 kB / 0.7327 GB, free: 1.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.004932, allocations: 8.031 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.005175, allocations: 123.1 kB / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.005363, allocations: 157.5 kB / 0.733 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.005379, allocations: 12.38 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.0054, allocations: 17.25 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005507, allocations: 111.6 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005515, allocations: 0.8125 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005526, allocations: 8.359 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005531, allocations: 1.062 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.005562, allocations: 35.86 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.0059, allocations: 482.3 kB / 0.7337 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.005956, allocations: 45.14 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.005968, allocations: 17.83 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-06/0.005972, allocations: 0.5938 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.006081, allocations: 85.98 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006082, allocations: 0 / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001276/0.00621, allocations: 78.12 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.006244, allocations: 82.22 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.006335, allocations: 173.5 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.006354, allocations: 29.7 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.006407, allocations: 120.7 kB / 0.7343 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.006414, allocations: 3.953 kB / 0.7343 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.006472, allocations: 62.17 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.006541, allocations: 322.8 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.006609, allocations: 100.3 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.006705, allocations: 219.2 kB / 0.7349 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.006808, allocations: 164.5 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006811, allocations: 0.6562 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001801/0.006991, allocations: 273.8 kB / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.007035, allocations: 71.39 kB / 0.7354 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007041, allocations: 0.625 kB / 0.7354 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.00705, allocations: 4 kB / 0.7354 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.779e-05/0.007068, allocations: 13.02 kB / 0.7354 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.007072, allocations: 0 / 0.7354 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.007219, allocations: 52.67 kB / 0.7355 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.007236, allocations: 17.17 kB / 0.7355 GB, free: 13.88 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con1.y,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.835e-05/0.007304, allocations: 120.7 kB / 0.7356 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.007317, allocations: 16.95 kB / 0.7356 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.007345, allocations: 12.72 kB / 0.7357 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007348, allocations: 0.5625 kB / 0.7357 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.00735, allocations: 0 / 0.7357 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.007355, allocations: 9.703 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.403e-05/0.007429, allocations: 89.84 kB / 0.7357 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00743, allocations: 0 / 0.7357 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.007436, allocations: 4 kB / 0.7358 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.007445, allocations: 11.91 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007447, allocations: 1.219 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.007452, allocations: 3.984 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007454, allocations: 3.984 kB / 0.7358 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.007457, allocations: 8.75 kB / 0.7358 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.629e-05/0.007533, allocations: 89.84 kB / 0.7359 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.007544, allocations: 4.562 kB / 0.7359 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.007557, allocations: 0.75 kB / 0.7359 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.007581, allocations: 11.98 kB / 0.7359 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.007583, allocations: 1.094 kB / 0.7359 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.007612, allocations: 39.22 kB / 0.7359 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007612, allocations: 0 / 0.7359 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000146/0.007758, allocations: 37.03 kB / 0.736 GB, free: 13.38 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001229/0.007881, allocations: 88.34 kB / 0.736 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.008083, allocations: 273.3 kB / 0.7363 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.008088, allocations: 0 / 0.7363 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.00811, allocations: 16.86 kB / 0.7363 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.008241, allocations: 24.77 kB / 0.7363 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.008757, allocations: 255.2 kB / 0.7366 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.359e-05/0.00879, allocations: 67.34 kB / 0.7366 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.008822, allocations: 10.81 kB / 0.7367 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.008919, allocations: 91.28 kB / 0.7367 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/0.00892, allocations: 0 / 0.7367 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.00391/0.01283, allocations: 2.308 MB / 0.739 GB, free: 10.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.96726300381124]