Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.001475/0.001475, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.001558/0.001558, allocations: 191.7 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.385/1.385, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8939, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006875/0.9008, allocations: 5.846 MB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1913/1.092, allocations: 151.3 MB / 1.416 GB, free: 3.512 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/1.094, allocations: 16.81 kB / 1.416 GB, free: 3.508 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/1.094, allocations: 219.7 kB / 1.416 GB, free: 3.312 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002499/1.097, allocations: 0.6563 MB / 1.417 GB, free: 2.812 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/1.1, allocations: 0.9732 MB / 1.418 GB, free: 2.07 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002911/1.103, allocations: 1.913 MB / 1.42 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/1.104, allocations: 0.7657 MB / 1.42 GB, free: 440 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/1.105, allocations: 0.6748 MB / 1.421 GB, free: 28 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009986/1.106, allocations: 0.7451 MB / 1.422 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/1.106, allocations: 162.3 kB / 1.422 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/1.108, allocations: 0.6367 MB / 1.423 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/1.108, allocations: 443.2 kB / 1.423 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008719/1.109, allocations: 0.774 MB / 1.424 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/1.113, allocations: 2.222 MB / 1.426 GB, free: 12.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.113, allocations: 0 / 1.426 GB, free: 12.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/1.113, allocations: 1.156 kB / 1.426 GB, free: 12.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.685e-05/1.113, allocations: 0 / 1.426 GB, free: 12.77 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003595/1.116, allocations: 1.857 MB / 1.428 GB, free: 11.33 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.116, allocations: 9.438 kB / 1.428 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009336/1.126, allocations: 1.287 MB / 1.429 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/1.128, allocations: 0.9786 MB / 1.43 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/1.128, allocations: 93.45 kB / 1.43 GB, free: 9.895 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/1.128, allocations: 119.1 kB / 1.43 GB, free: 9.855 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/1.134, allocations: 2.038 MB / 1.432 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/1.134, allocations: 3.938 kB / 1.432 GB, free: 8.609 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/1.134, allocations: 52.38 kB / 1.432 GB, free: 8.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/1.134, allocations: 33.91 kB / 1.432 GB, free: 8.566 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008222/1.142, allocations: 2.759 MB / 1.435 GB, free: 7.211 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009551/1.152, allocations: 4.813 MB / 1.44 GB, free: 2.398 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/1.16, allocations: 2.736 MB / 1.442 GB, free: 15.63 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00341/1.164, allocations: 1.042 MB / 1.443 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/1.164, allocations: 0.6062 MB / 1.444 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003867/1.168, allocations: 1.355 MB / 1.445 GB, free: 12.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=132): time 5.36e-06/1.168, allocations: 0 / 1.445 GB, free: 12.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=132): time 0.01192/1.18, allocations: 3.387 MB / 1.449 GB, free: 9.066 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.18, allocations: 197.2 kB / 1.449 GB, free: 8.828 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.182, allocations: 0.7784 MB / 1.45 GB, free: 8.043 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.182, allocations: 49.7 kB / 1.45 GB, free: 7.988 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/1.182, allocations: 485.8 kB / 1.45 GB, free: 7.508 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/1.183, allocations: 456.1 kB / 1.451 GB, free: 7.059 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/1.183, allocations: 270.7 kB / 1.451 GB, free: 6.789 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.183, allocations: 349.9 kB / 1.451 GB, free: 6.441 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.187, allocations: 0.9665 MB / 1.452 GB, free: 5.473 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.19, allocations: 1.097 MB / 1.453 GB, free: 4.355 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/1.197, allocations: 1.923 MB / 1.455 GB, free: 2.418 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.197, allocations: 0 / 1.455 GB, free: 2.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008074/1.205, allocations: 2.331 MB / 1.457 GB, free: 76 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.205, allocations: 8 kB / 1.457 GB, free: 68 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.205, allocations: 12.06 kB / 1.457 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.205, allocations: 80.78 kB / 1.457 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.208, allocations: 431.3 kB / 1.458 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/1.21, allocations: 1.656 MB / 1.459 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.213, allocations: 289.3 kB / 1.46 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/1.213, allocations: 63.92 kB / 1.46 GB, free: 13.41 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008033/1.214, allocations: 335.8 kB / 1.46 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/1.214, allocations: 115.2 kB / 1.46 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009012/1.223, allocations: 2.727 MB / 1.463 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.223, allocations: 12 kB / 1.463 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.223, allocations: 3.938 kB / 1.463 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/1.223, allocations: 11.97 kB / 1.463 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.235, allocations: 4.303 MB / 1.467 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.235, allocations: 0 / 1.467 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.237, allocations: 411.4 kB / 1.467 GB, free: 5.418 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/1.238, allocations: 80.72 kB / 1.468 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.238, allocations: 51.94 kB / 1.468 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/1.24, allocations: 1.67 MB / 1.469 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.24, allocations: 0 / 1.469 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00834/1.249, allocations: 2.494 MB / 1.472 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.25, allocations: 431.7 kB / 1.472 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.25, allocations: 28 kB / 1.472 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.252, allocations: 227.7 kB / 1.472 GB, free: 260 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/1.253, allocations: 105.2 kB / 1.472 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.253, allocations: 75.94 kB / 1.472 GB, free: 80 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009861/1.254, allocations: 0.5498 MB / 1.473 GB, free: 15.54 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.2e-07/1.254, allocations: 0 / 1.473 GB, free: 15.54 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001848/1.256, allocations: 0.4989 MB / 1.474 GB, free: 15.04 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002316/1.258, allocations: 0.6549 MB / 1.474 GB, free: 14.56 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007886/1.266, allocations: 2.356 MB / 1.476 GB, free: 12.19 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.266, allocations: 0 / 1.476 GB, free: 12.19 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00401/1.27, allocations: 1.306 MB / 1.478 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.272, allocations: 325.5 kB / 1.478 GB, free: 10.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/1.279, allocations: 2.895 MB / 1.481 GB, free: 7.641 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/1.28, allocations: 1.159 MB / 1.482 GB, free: 6.453 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.281, allocations: 195.2 kB / 1.482 GB, free: 6.262 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/1.281, allocations: 0 / 1.482 GB, free: 6.262 MB / 1.17 GB Notification: Performance of Templates: time 0.04015/1.321, allocations: 28.65 MB / 1.51 GB, free: 9.672 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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: 14.143752615898848]