Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.001584/0.001584, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001893/0.001893, allocations: 162.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8691, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007158/0.8763, allocations: 5.616 MB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1852/1.061, allocations: 133.6 MB / 1.322 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/1.063, allocations: 23.81 kB / 1.323 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/1.063, allocations: 241.7 kB / 1.323 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/1.066, allocations: 0.7283 MB / 1.323 GB, free: 9.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/1.068, allocations: 1.011 MB / 1.324 GB, free: 8.68 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002329/1.07, allocations: 2.087 MB / 1.326 GB, free: 6.586 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/1.071, allocations: 0.5532 MB / 1.327 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/1.072, allocations: 0.771 MB / 1.328 GB, free: 5.223 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009976/1.073, allocations: 0.7312 MB / 1.328 GB, free: 4.488 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.074, allocations: 192 kB / 1.329 GB, free: 4.301 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/1.075, allocations: 0.6791 MB / 1.329 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.075, allocations: 490.6 kB / 1.33 GB, free: 3.141 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007622/1.076, allocations: 0.7 MB / 1.33 GB, free: 2.438 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/1.079, allocations: 2.553 MB / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.079, allocations: 0 / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/1.079, allocations: 0 / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.932e-05/1.079, allocations: 0 / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003681/1.083, allocations: 1.913 MB / 1.335 GB, free: 13.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.083, allocations: 11.97 kB / 1.335 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/1.101, allocations: 1.993 MB / 1.337 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/1.103, allocations: 1.023 MB / 1.338 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.103, allocations: 102.7 kB / 1.338 GB, free: 10.76 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/1.103, allocations: 128 kB / 1.338 GB, free: 10.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008238/1.112, allocations: 2.753 MB / 1.341 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/1.112, allocations: 0 / 1.341 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/1.112, allocations: 63.94 kB / 1.341 GB, free: 7.695 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/1.112, allocations: 32 kB / 1.341 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/1.125, allocations: 3.397 MB / 1.344 GB, free: 4.258 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/1.138, allocations: 4.787 MB / 1.349 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.153, allocations: 3.469 MB / 1.352 GB, free: 11.93 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005615/1.159, allocations: 1.32 MB / 1.353 GB, free: 10.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/1.159, allocations: 78.36 kB / 1.354 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006473/1.166, allocations: 1.831 MB / 1.355 GB, free: 8.664 MB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 3.927e-06/1.166, allocations: 0 / 1.355 GB, free: 8.664 MB / 1.201 GB Notification: Performance of matching and sorting (n=133): time 0.01903/1.185, allocations: 4.241 MB / 1.359 GB, free: 4.41 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.185, allocations: 201.2 kB / 1.36 GB, free: 4.172 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.186, allocations: 0.7233 MB / 1.36 GB, free: 3.434 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/1.186, allocations: 49.7 kB / 1.36 GB, free: 3.379 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006061/1.187, allocations: 0.5328 MB / 1.361 GB, free: 2.836 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/1.188, allocations: 460.1 kB / 1.361 GB, free: 2.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/1.188, allocations: 286.7 kB / 1.362 GB, free: 2.098 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002641/1.189, allocations: 410.7 kB / 1.362 GB, free: 1.688 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005754/1.194, allocations: 1.29 MB / 1.363 GB, free: 404 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006083/1.2, allocations: 1.583 MB / 1.365 GB, free: 14.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.212, allocations: 2.457 MB / 1.367 GB, free: 12.28 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.212, allocations: 0 / 1.367 GB, free: 12.28 MB / 1.217 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.01319/1.225, allocations: 2.925 MB / 1.37 GB, free: 9.344 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.225, allocations: 8 kB / 1.37 GB, free: 9.336 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.225, allocations: 0 / 1.37 GB, free: 9.336 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/1.226, allocations: 88.83 kB / 1.37 GB, free: 9.246 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.229, allocations: 0.5187 MB / 1.371 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/1.232, allocations: 1.519 MB / 1.372 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/1.236, allocations: 354.9 kB / 1.373 GB, free: 6.758 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/1.236, allocations: 75.91 kB / 1.373 GB, free: 6.684 MB / 1.217 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.001073/1.237, allocations: 363.4 kB / 1.373 GB, free: 6.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/1.238, allocations: 111.4 kB / 1.373 GB, free: 6.211 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.252, allocations: 3.476 MB / 1.376 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/1.252, allocations: 12 kB / 1.376 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.252, allocations: 7.984 kB / 1.376 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/1.252, allocations: 7.984 kB / 1.376 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/1.255, allocations: 1.432 MB / 1.378 GB, free: 1.223 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.255, allocations: 3.938 kB / 1.378 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/1.258, allocations: 0.4953 MB / 1.378 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/1.259, allocations: 72.78 kB / 1.378 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.259, allocations: 59.92 kB / 1.378 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/1.261, allocations: 1.54 MB / 1.38 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.261, allocations: 0 / 1.38 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.274, allocations: 3.022 MB / 1.383 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.275, allocations: 398.7 kB / 1.383 GB, free: 11.51 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/1.276, allocations: 35.88 kB / 1.383 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/1.279, allocations: 318.3 kB / 1.384 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.279, allocations: 101.1 kB / 1.384 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.279, allocations: 71.92 kB / 1.384 GB, free: 11 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009892/1.28, allocations: 0.5224 MB / 1.384 GB, free: 10.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/1.28, allocations: 4 kB / 1.384 GB, free: 10.47 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001879/1.282, allocations: 0.5223 MB / 1.385 GB, free: 9.949 MB / 1.232 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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.002448/1.285, allocations: 0.6617 MB / 1.385 GB, free: 9.488 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.297, allocations: 2.968 MB / 1.388 GB, free: 6.504 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.297, allocations: 3.984 kB / 1.388 GB, free: 6.5 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.006381/1.304, allocations: 1.591 MB / 1.39 GB, free: 4.898 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.306, allocations: 321.6 kB / 1.39 GB, free: 4.602 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/1.316, allocations: 3.303 MB / 1.393 GB, free: 1.266 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009058/1.316, allocations: 0.5973 MB / 1.394 GB, free: 0.6367 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002388/1.319, allocations: 0.5474 MB / 1.395 GB, free: 88 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/1.32, allocations: 192.3 kB / 1.395 GB, free: 15.89 MB / 1.248 GB Notification: Performance of SimCode: time 7.81e-07/1.32, allocations: 0 / 1.395 GB, free: 15.89 MB / 1.248 GB Notification: Performance of Templates: time 0.0458/1.366, allocations: 26.12 MB / 1.42 GB, free: 6.043 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.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: 10.397849622997455]