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.001427/0.001427, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001569/0.001569, allocations: 188.7 kB / 22.22 MB, free: 5.102 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.308/1.308, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.893/2.893, allocations: 495.7 MB / 0.7831 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001858/0.001858, allocations: 70.08 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 173.6 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007528/0.2956, allocations: 5.909 MB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.4656, allocations: 151.9 MB / 1.461 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.4664, allocations: 27.75 kB / 1.461 GB, free: 3.473 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.467, allocations: 225.9 kB / 1.461 GB, free: 3.25 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.4687, allocations: 0.6622 MB / 1.462 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.4708, allocations: 1.002 MB / 1.463 GB, free: 1.594 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.4728, allocations: 1.909 MB / 1.465 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.4737, allocations: 0.5194 MB / 1.465 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009584/0.4747, allocations: 0.6971 MB / 1.466 GB, free: 14.42 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008658/0.4755, allocations: 0.743 MB / 1.467 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.4758, allocations: 164 kB / 1.467 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.4769, allocations: 0.644 MB / 1.468 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.4773, allocations: 442.7 kB / 1.468 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007021/0.478, allocations: 0.7697 MB / 1.469 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.481, allocations: 2.222 MB / 1.471 GB, free: 9.434 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.481, allocations: 4 kB / 1.471 GB, free: 9.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.886e-06/0.481, allocations: 3.984 kB / 1.471 GB, free: 9.426 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.481, allocations: 0 / 1.471 GB, free: 9.426 MB / 1.17 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.003938/0.4849, allocations: 1.784 MB / 1.473 GB, free: 7.594 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.485, allocations: 16.02 kB / 1.473 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009028/0.494, allocations: 1.287 MB / 1.474 GB, free: 6.289 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4959, allocations: 0.9055 MB / 1.475 GB, free: 5.359 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.496, allocations: 90.45 kB / 1.475 GB, free: 5.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.4962, allocations: 116 kB / 1.475 GB, free: 5.156 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00518/0.5014, allocations: 2.038 MB / 1.477 GB, free: 3.055 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.5014, allocations: 7.938 kB / 1.477 GB, free: 3.047 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.5016, allocations: 47.98 kB / 1.477 GB, free: 3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.5016, allocations: 32 kB / 1.477 GB, free: 2.969 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007662/0.5093, allocations: 2.756 MB / 1.48 GB, free: 208 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008938/0.5182, allocations: 4.747 MB / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008092/0.5263, allocations: 2.575 MB / 1.487 GB, free: 8.703 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003191/0.5295, allocations: 1.003 MB / 1.488 GB, free: 7.699 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.5298, allocations: 85.03 kB / 1.488 GB, free: 7.617 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/0.5336, allocations: 1.363 MB / 1.489 GB, free: 6.234 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 2.805e-06/0.5336, allocations: 0 / 1.489 GB, free: 6.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01133/0.5449, allocations: 3.308 MB / 1.493 GB, free: 2.918 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5451, allocations: 197.2 kB / 1.493 GB, free: 2.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.5461, allocations: 0.7745 MB / 1.493 GB, free: 1.898 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.5463, allocations: 53.7 kB / 1.494 GB, free: 1.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.5467, allocations: 493.7 kB / 1.494 GB, free: 1.352 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.5471, allocations: 456.1 kB / 1.494 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004866/0.5476, allocations: 266.8 kB / 1.495 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5477, allocations: 353.9 kB / 1.495 GB, free: 292 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.5509, allocations: 0.9587 MB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/0.5543, allocations: 1.101 MB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/0.5606, allocations: 1.927 MB / 1.499 GB, free: 12.26 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5606, allocations: 0 / 1.499 GB, free: 12.26 MB / 1.201 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007563/0.5681, allocations: 2.327 MB / 1.501 GB, free: 9.918 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5682, allocations: 8 kB / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5682, allocations: 0 / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.5688, allocations: 88.83 kB / 1.501 GB, free: 9.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.5711, allocations: 431.3 kB / 1.502 GB, free: 9.398 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.5733, allocations: 1.543 MB / 1.503 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.5756, allocations: 287 kB / 1.503 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.5757, allocations: 63.92 kB / 1.504 GB, free: 7.395 MB / 1.201 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.0006939/0.5764, allocations: 343.5 kB / 1.504 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.5767, allocations: 119.2 kB / 1.504 GB, free: 6.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008495/0.5852, allocations: 2.719 MB / 1.507 GB, free: 4.195 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.5852, allocations: 12 kB / 1.507 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5852, allocations: 4 kB / 1.507 GB, free: 4.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5852, allocations: 7.969 kB / 1.507 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.5957, allocations: 4.271 MB / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5957, allocations: 0 / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/0.598, allocations: 411.4 kB / 1.511 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.5985, allocations: 76.73 kB / 1.511 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.5986, allocations: 51.88 kB / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.6006, allocations: 1.575 MB / 1.513 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6006, allocations: 0 / 1.513 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007699/0.6083, allocations: 2.498 MB / 1.515 GB, free: 11.1 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/0.6092, allocations: 346.7 kB / 1.516 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.6094, allocations: 36.09 kB / 1.516 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.6115, allocations: 227.7 kB / 1.516 GB, free: 10.5 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.6117, allocations: 113.1 kB / 1.516 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.6118, allocations: 63.88 kB / 1.516 GB, free: 10.33 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007557/0.6126, allocations: 0.5576 MB / 1.517 GB, free: 9.777 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6126, allocations: 4 kB / 1.517 GB, free: 9.773 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001279/0.6139, allocations: 0.4911 MB / 1.517 GB, free: 9.281 MB / 1.217 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.001991/0.6158, allocations: 0.6404 MB / 1.518 GB, free: 8.812 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007332/0.6232, allocations: 2.305 MB / 1.52 GB, free: 6.492 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6232, allocations: 0 / 1.52 GB, free: 6.492 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/0.6269, allocations: 1.255 MB / 1.521 GB, free: 5.227 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.6285, allocations: 347.2 kB / 1.522 GB, free: 4.906 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/0.6349, allocations: 2.842 MB / 1.524 GB, free: 2.027 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.6356, allocations: 1.167 MB / 1.525 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001618/0.6373, allocations: 481.1 kB / 1.526 GB, free: 364 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.6379, allocations: 171.3 kB / 1.526 GB, free: 192 kB / 1.217 GB Notification: Performance of SimCode: time 1.112e-06/0.6379, allocations: 0 / 1.526 GB, free: 192 kB / 1.217 GB Notification: Performance of Templates: time 0.03865/0.6765, allocations: 24.27 MB / 1.55 GB, free: 8.074 MB / 1.248 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.204328668303788]