Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001047/0.001047, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002575, 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.0007331/0.0007331, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001715, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9744/0.9744, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09514/1.07, allocations: 53.66 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.84/1.84, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4742/2.314, allocations: 123.3 MB / 0.7281 GB, free: 5.801 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.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.318e-05, allocations: 3.344 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004235/0.004259, allocations: 2.829 MB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.008558, allocations: 2.826 MB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.008924, allocations: 7.938 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.01043, allocations: 0.5043 MB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000746/0.01117, allocations: 309.7 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01226, allocations: 390.1 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.01414, allocations: 1.491 MB / 0.7374 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.01436, allocations: 67.02 kB / 0.7375 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.01583, allocations: 0.7952 MB / 0.7383 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.01658, allocations: 400.3 kB / 0.7387 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.0168, allocations: 44 kB / 0.7387 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.01703, allocations: 63.92 kB / 0.7388 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.01732, allocations: 268.4 kB / 0.739 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.01765, allocations: 207.6 kB / 0.7392 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.01839, allocations: 0.5845 MB / 0.7398 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.01841, allocations: 0 / 0.7398 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.01841, allocations: 1.781 kB / 0.7398 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.761e-05/0.01845, allocations: 0 / 0.7398 GB, free: 9.828 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002023/0.02047, allocations: 1.058 MB / 0.7408 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02051, allocations: 9.375 kB / 0.7408 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.02079, allocations: 150 kB / 0.741 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.02156, allocations: 461.5 kB / 0.7414 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.02159, allocations: 25.91 kB / 0.7414 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.02166, allocations: 52.3 kB / 0.7415 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.022, allocations: 222.5 kB / 0.7417 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.02202, allocations: 192 / 0.7417 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.02204, allocations: 16.12 kB / 0.7417 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.02205, allocations: 5.406 kB / 0.7417 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.0222, allocations: 74.17 kB / 0.7418 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.02337, allocations: 1.105 MB / 0.7429 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.0238, allocations: 274.3 kB / 0.7431 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.02385, allocations: 41.33 kB / 0.7432 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.02386, allocations: 6.625 kB / 0.7432 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.02388, allocations: 38.5 kB / 0.7432 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.02389, allocations: 0 / 0.7432 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003549/0.02424, allocations: 176.4 kB / 0.7434 GB, free: 6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.02427, allocations: 51.41 kB / 0.7434 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/0.02499, allocations: 0.5607 MB / 0.744 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.02502, allocations: 37.7 kB / 0.744 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.02518, allocations: 233.9 kB / 0.7442 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.02524, allocations: 71.36 kB / 0.7443 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.02537, allocations: 114.3 kB / 0.7444 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.0255, allocations: 378.6 kB / 0.7448 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.02561, allocations: 65.73 kB / 0.7448 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.02583, allocations: 310.5 kB / 0.7451 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.02625, allocations: 440.4 kB / 0.7456 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.02626, allocations: 6.438 kB / 0.7456 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005727/0.02683, allocations: 386.5 kB / 0.7459 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.02686, allocations: 8 kB / 0.7459 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.02687, allocations: 8 kB / 0.746 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.02707, allocations: 36.98 kB / 0.746 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.02753, allocations: 167.1 kB / 0.7461 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006738/0.0282, allocations: 1.214 MB / 0.7473 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.02855, allocations: 67.45 kB / 0.7474 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.02857, allocations: 21.12 kB / 0.7474 GB, free: 1.488 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.02869, allocations: 153.3 kB / 0.7476 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.02874, allocations: 35.97 kB / 0.7476 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.0288, allocations: 58.52 kB / 0.7477 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0288, allocations: 0 / 0.7477 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.02881, allocations: 0.75 kB / 0.7477 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02881, allocations: 7.984 kB / 0.7477 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.02907, allocations: 266 kB / 0.7479 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02908, allocations: 3.938 kB / 0.7479 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.02926, allocations: 69.95 kB / 0.748 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.02937, allocations: 83.5 kB / 0.7481 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.02947, allocations: 29.75 kB / 0.7481 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.02949, allocations: 11.98 kB / 0.7481 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006012/0.03009, allocations: 1.253 MB / 0.7493 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03009, allocations: 0 / 0.7493 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.03035, allocations: 329.4 kB / 0.7496 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.0304, allocations: 12.06 kB / 0.7497 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.03053, allocations: 4.922 kB / 0.7497 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.03056, allocations: 11.98 kB / 0.7497 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.03057, allocations: 4 kB / 0.7497 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000224/0.0308, allocations: 269.6 kB / 0.7499 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0308, allocations: 0 / 0.7499 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003815/0.03118, allocations: 187.8 kB / 0.7501 GB, free: 14.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.619e-05/0.03127, allocations: 86.91 kB / 0.7502 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.0316, allocations: 309.6 kB / 0.7505 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.03162, allocations: 8 kB / 0.7505 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.03173, allocations: 168.4 kB / 0.7507 GB, free: 14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.03245, allocations: 229.2 kB / 0.7509 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.03655, allocations: 1.063 MB / 0.7519 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.03667, allocations: 182.3 kB / 0.7521 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.03685, allocations: 64.84 kB / 0.7522 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.03712, allocations: 173.3 kB / 0.7523 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.03712, allocations: 0 / 0.7523 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.01296/0.05008, allocations: 10.13 MB / 0.7622 GB, free: 2.418 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.1119560757651925]