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) 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.001594/0.001594, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.84 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.8923, allocations: 159.1 MB / 1.221 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007988/0.9003, allocations: 5.842 MB / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1607/1.061, allocations: 151.3 MB / 1.374 GB, free: 4.758 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/1.063, allocations: 19.88 kB / 1.374 GB, free: 4.738 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/1.064, allocations: 217.9 kB / 1.375 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/1.067, allocations: 0.6636 MB / 1.375 GB, free: 3.859 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.07, allocations: 0.9823 MB / 1.376 GB, free: 2.883 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00268/1.073, allocations: 1.913 MB / 1.378 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/1.074, allocations: 0.7676 MB / 1.379 GB, free: 168 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/1.075, allocations: 0.6737 MB / 1.379 GB, free: 15.49 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.077, allocations: 0.7471 MB / 1.38 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005453/1.077, allocations: 164 kB / 1.38 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/1.079, allocations: 0.6362 MB / 1.381 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006936/1.08, allocations: 438.7 kB / 1.381 GB, free: 13.51 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/1.081, allocations: 0.7735 MB / 1.382 GB, free: 12.73 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/1.085, allocations: 2.208 MB / 1.384 GB, free: 10.52 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.085, allocations: 0 / 1.384 GB, free: 10.52 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.033e-06/1.085, allocations: 0 / 1.384 GB, free: 10.52 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.958e-05/1.085, allocations: 0 / 1.384 GB, free: 10.52 MB / 1.107 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.004109/1.089, allocations: 1.815 MB / 1.386 GB, free: 8.641 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.089, allocations: 12.62 kB / 1.386 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/1.098, allocations: 1.275 MB / 1.387 GB, free: 7.352 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.1, allocations: 0.9769 MB / 1.388 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/1.1, allocations: 94.45 kB / 1.388 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.1, allocations: 124 kB / 1.389 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/1.106, allocations: 2.03 MB / 1.39 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.106, allocations: 0 / 1.39 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/1.106, allocations: 52 kB / 1.391 GB, free: 3.973 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/1.106, allocations: 31.94 kB / 1.391 GB, free: 3.941 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007628/1.113, allocations: 2.764 MB / 1.393 GB, free: 1.168 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.008695/1.122, allocations: 4.697 MB / 1.398 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/1.13, allocations: 2.742 MB / 1.401 GB, free: 9.562 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/1.133, allocations: 1.05 MB / 1.402 GB, free: 8.504 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/1.134, allocations: 0.6061 MB / 1.402 GB, free: 7.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003626/1.137, allocations: 1.356 MB / 1.403 GB, free: 6.395 MB / 1.123 GB Notification: Performance of pre-optimization done (n=132): time 4.058e-06/1.137, allocations: 0 / 1.403 GB, free: 6.395 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.0111/1.149, allocations: 3.383 MB / 1.407 GB, free: 2.984 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.149, allocations: 193.2 kB / 1.407 GB, free: 2.75 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.15, allocations: 0.7783 MB / 1.408 GB, free: 1.965 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/1.15, allocations: 49.7 kB / 1.408 GB, free: 1.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/1.151, allocations: 476.8 kB / 1.408 GB, free: 1.438 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/1.151, allocations: 441.7 kB / 1.409 GB, free: 1 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/1.152, allocations: 266.7 kB / 1.409 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.152, allocations: 353.9 kB / 1.409 GB, free: 392 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/1.155, allocations: 0.9627 MB / 1.41 GB, free: 15.41 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.158, allocations: 1.105 MB / 1.411 GB, free: 14.29 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006072/1.164, allocations: 1.923 MB / 1.413 GB, free: 12.35 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.164, allocations: 0 / 1.413 GB, free: 12.35 MB / 1.139 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007429/1.172, allocations: 2.327 MB / 1.415 GB, free: 10.01 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.172, allocations: 8 kB / 1.415 GB, free: 10 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.172, allocations: 0 / 1.415 GB, free: 10 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/1.173, allocations: 84.83 kB / 1.415 GB, free: 9.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/1.175, allocations: 431.3 kB / 1.416 GB, free: 9.496 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/1.177, allocations: 1.643 MB / 1.418 GB, free: 7.707 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.18, allocations: 290.6 kB / 1.418 GB, free: 7.422 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.18, allocations: 63.92 kB / 1.418 GB, free: 7.359 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,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.0008008/1.181, allocations: 327.8 kB / 1.418 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/1.181, allocations: 110.7 kB / 1.418 GB, free: 6.922 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/1.189, allocations: 2.727 MB / 1.421 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.189, allocations: 12 kB / 1.421 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.189, allocations: 4 kB / 1.421 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.189, allocations: 7.969 kB / 1.421 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.2, allocations: 4.307 MB / 1.425 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.2, allocations: 0 / 1.425 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.202, allocations: 415.3 kB / 1.426 GB, free: 15.38 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.203, allocations: 72.8 kB / 1.426 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.203, allocations: 51.92 kB / 1.426 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.205, allocations: 1.678 MB / 1.427 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.205, allocations: 3.984 kB / 1.427 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007749/1.213, allocations: 2.493 MB / 1.43 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.214, allocations: 419.2 kB / 1.43 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/1.214, allocations: 35.84 kB / 1.43 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.217, allocations: 231.7 kB / 1.43 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/1.217, allocations: 101.2 kB / 1.43 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.217, allocations: 63.88 kB / 1.431 GB, free: 10.06 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009454/1.218, allocations: 0.5576 MB / 1.431 GB, free: 9.508 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.91e-07/1.218, allocations: 0 / 1.431 GB, free: 9.508 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001584/1.22, allocations: 0.4912 MB / 1.432 GB, free: 9.016 MB / 1.154 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.001835/1.221, allocations: 0.6555 MB / 1.432 GB, free: 8.535 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007717/1.229, allocations: 2.356 MB / 1.435 GB, free: 6.164 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.229, allocations: 0 / 1.435 GB, free: 6.164 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.233, allocations: 1.306 MB / 1.436 GB, free: 4.848 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.235, allocations: 324.2 kB / 1.436 GB, free: 4.547 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/1.242, allocations: 2.866 MB / 1.439 GB, free: 1.648 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.243, allocations: 1.159 MB / 1.44 GB, free: 472 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009379/1.244, allocations: 195.2 kB / 1.44 GB, free: 276 kB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/1.244, allocations: 4 kB / 1.44 GB, free: 272 kB / 1.154 GB Notification: Performance of Templates: time 0.04716/1.292, allocations: 28.64 MB / 1.468 GB, free: 3.695 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches