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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008081/0.008081, allocations: 102.7 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 195.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 68.12 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8627, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.0077/0.8705, allocations: 6.24 MB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1665/1.037, allocations: 151.6 MB / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/1.038, allocations: 27.81 kB / 1.362 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/1.039, allocations: 225.8 kB / 1.362 GB, free: 14.97 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/1.041, allocations: 0.6907 MB / 1.363 GB, free: 14.28 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/1.043, allocations: 1.001 MB / 1.364 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001945/1.045, allocations: 2.056 MB / 1.366 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/1.046, allocations: 0.8641 MB / 1.367 GB, free: 10.32 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/1.047, allocations: 0.7359 MB / 1.367 GB, free: 9.582 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/1.047, allocations: 0.8015 MB / 1.368 GB, free: 8.777 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/1.048, allocations: 192 kB / 1.368 GB, free: 8.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/1.049, allocations: 0.6636 MB / 1.369 GB, free: 7.926 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/1.049, allocations: 486.6 kB / 1.369 GB, free: 7.449 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006314/1.05, allocations: 0.8553 MB / 1.37 GB, free: 6.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/1.052, allocations: 2.471 MB / 1.373 GB, free: 4.113 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.052, allocations: 0 / 1.373 GB, free: 4.113 MB / 1.092 GB Notification: Performance of FrontEnd: time 5.381e-06/1.052, allocations: 3.984 kB / 1.373 GB, free: 4.109 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.941e-05/1.052, allocations: 3.938 kB / 1.373 GB, free: 4.105 MB / 1.092 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.003169/1.055, allocations: 1.902 MB / 1.374 GB, free: 2.145 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.055, allocations: 12.03 kB / 1.374 GB, free: 2.133 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009182/1.064, allocations: 1.282 MB / 1.376 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/1.066, allocations: 1.055 MB / 1.377 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/1.066, allocations: 102.7 kB / 1.377 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/1.067, allocations: 128 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/1.072, allocations: 2.217 MB / 1.379 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.072, allocations: 0 / 1.379 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.072, allocations: 56 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/1.072, allocations: 32 kB / 1.379 GB, free: 13.15 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/1.08, allocations: 2.972 MB / 1.382 GB, free: 10.17 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/1.09, allocations: 5.338 MB / 1.387 GB, free: 4.688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008433/1.099, allocations: 2.888 MB / 1.39 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/1.102, allocations: 1.129 MB / 1.391 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/1.103, allocations: 0.6105 MB / 1.392 GB, free: 15.92 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0039/1.106, allocations: 1.446 MB / 1.393 GB, free: 14.45 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 4.639e-06/1.106, allocations: 4 kB / 1.393 GB, free: 14.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.0118/1.118, allocations: 3.625 MB / 1.397 GB, free: 10.8 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.118, allocations: 205.2 kB / 1.397 GB, free: 10.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/1.12, allocations: 0.8138 MB / 1.398 GB, free: 9.723 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.12, allocations: 57.64 kB / 1.398 GB, free: 9.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/1.12, allocations: 0.4968 MB / 1.398 GB, free: 9.156 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/1.12, allocations: 449.5 kB / 1.399 GB, free: 8.711 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005057/1.121, allocations: 270.7 kB / 1.399 GB, free: 8.441 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.121, allocations: 349.9 kB / 1.399 GB, free: 8.094 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/1.124, allocations: 1.056 MB / 1.4 GB, free: 7.035 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003549/1.128, allocations: 1.183 MB / 1.402 GB, free: 5.836 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/1.135, allocations: 2.063 MB / 1.404 GB, free: 3.754 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.135, allocations: 7.938 kB / 1.404 GB, free: 3.746 MB / 1.123 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008119/1.143, allocations: 2.487 MB / 1.406 GB, free: 1.246 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.143, allocations: 4 kB / 1.406 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.143, allocations: 0 / 1.406 GB, free: 1.242 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/1.144, allocations: 88.83 kB / 1.406 GB, free: 1.152 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.146, allocations: 431.3 kB / 1.406 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.148, allocations: 1.646 MB / 1.408 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/1.151, allocations: 293.3 kB / 1.408 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/1.151, allocations: 63.92 kB / 1.408 GB, free: 14.59 MB / 1.139 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.0008444/1.152, allocations: 351.8 kB / 1.409 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/1.152, allocations: 118.5 kB / 1.409 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008814/1.161, allocations: 2.88 MB / 1.412 GB, free: 11.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.161, allocations: 15.98 kB / 1.412 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.161, allocations: 4 kB / 1.412 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.161, allocations: 7.984 kB / 1.412 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.163, allocations: 1.812 MB / 1.413 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.163, allocations: 0 / 1.413 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.166, allocations: 415.3 kB / 1.414 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/1.166, allocations: 72.78 kB / 1.414 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.166, allocations: 51.94 kB / 1.414 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.168, allocations: 1.662 MB / 1.416 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.168, allocations: 4.031 kB / 1.416 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008191/1.177, allocations: 2.58 MB / 1.418 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/1.178, allocations: 475 kB / 1.419 GB, free: 3.902 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.178, allocations: 32.06 kB / 1.419 GB, free: 3.871 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.18, allocations: 227.7 kB / 1.419 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.18, allocations: 97.17 kB / 1.419 GB, free: 3.555 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/1.18, allocations: 63.94 kB / 1.419 GB, free: 3.492 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008049/1.181, allocations: 0.5888 MB / 1.42 GB, free: 2.906 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.91e-07/1.181, allocations: 0 / 1.42 GB, free: 2.906 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001382/1.183, allocations: 0.5145 MB / 1.42 GB, free: 2.391 MB / 1.139 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 (148): * Single equations (assignments): 141 * 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.001503/1.184, allocations: 0.6394 MB / 1.421 GB, free: 1.926 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007892/1.192, allocations: 2.531 MB / 1.423 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.192, allocations: 0 / 1.423 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003977/1.196, allocations: 1.396 MB / 1.425 GB, free: 13.97 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.198, allocations: 354.9 kB / 1.425 GB, free: 13.65 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/1.204, allocations: 3.003 MB / 1.428 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/1.205, allocations: 1.192 MB / 1.429 GB, free: 9.395 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00165/1.207, allocations: 493.5 kB / 1.429 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/1.207, allocations: 163.3 kB / 1.43 GB, free: 8.75 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/1.208, allocations: 0 / 1.43 GB, free: 8.75 MB / 1.154 GB Notification: Performance of Templates: time 0.03968/1.247, allocations: 25.12 MB / 1.454 GB, free: 15.81 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches