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.001457/0.001457, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001672/0.001672, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8611, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008716/0.8699, allocations: 5.829 MB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1668/1.037, allocations: 151.3 MB / 1.362 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/1.038, allocations: 27.88 kB / 1.362 GB, free: 15.89 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009725/1.039, allocations: 213.9 kB / 1.362 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/1.042, allocations: 0.6599 MB / 1.363 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/1.044, allocations: 0.9713 MB / 1.364 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002399/1.047, allocations: 1.909 MB / 1.366 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.048, allocations: 0.7677 MB / 1.366 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/1.049, allocations: 0.6737 MB / 1.367 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/1.05, allocations: 0.747 MB / 1.368 GB, free: 9.914 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004219/1.051, allocations: 168 kB / 1.368 GB, free: 9.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/1.052, allocations: 0.6362 MB / 1.369 GB, free: 9.113 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006093/1.053, allocations: 438.7 kB / 1.369 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.054, allocations: 0.7736 MB / 1.37 GB, free: 7.906 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/1.057, allocations: 2.21 MB / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.057, allocations: 0 / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.523e-06/1.057, allocations: 0 / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.057, allocations: 0 / 1.372 GB, free: 5.691 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003029/1.06, allocations: 1.807 MB / 1.374 GB, free: 3.824 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.06, allocations: 8.031 kB / 1.374 GB, free: 3.816 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009002/1.069, allocations: 1.282 MB / 1.375 GB, free: 2.531 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.07, allocations: 0.9808 MB / 1.376 GB, free: 1.504 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/1.07, allocations: 86.45 kB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/1.071, allocations: 120 kB / 1.376 GB, free: 1.301 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00486/1.076, allocations: 2.037 MB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.076, allocations: 0 / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/1.076, allocations: 52 kB / 1.378 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/1.076, allocations: 32 kB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007435/1.083, allocations: 2.768 MB / 1.381 GB, free: 12.34 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.008259/1.091, allocations: 4.701 MB / 1.385 GB, free: 7.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/1.099, allocations: 2.739 MB / 1.388 GB, free: 4.738 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.102, allocations: 1.034 MB / 1.389 GB, free: 3.699 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/1.103, allocations: 0.6102 MB / 1.39 GB, free: 2.961 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003576/1.107, allocations: 1.363 MB / 1.391 GB, free: 1.578 MB / 1.107 GB Notification: Performance of pre-optimization done (n=132): time 3.186e-06/1.107, allocations: 0 / 1.391 GB, free: 1.578 MB / 1.107 GB Notification: Performance of matching and sorting (n=132): time 0.01102/1.118, allocations: 3.375 MB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.118, allocations: 197.2 kB / 1.394 GB, free: 13.94 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.119, allocations: 0.7783 MB / 1.395 GB, free: 13.15 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.119, allocations: 57.64 kB / 1.395 GB, free: 13.09 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/1.119, allocations: 488.8 kB / 1.396 GB, free: 12.6 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/1.12, allocations: 421.8 kB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/1.12, allocations: 270.6 kB / 1.396 GB, free: 11.91 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.12, allocations: 357.9 kB / 1.397 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/1.123, allocations: 0.9665 MB / 1.398 GB, free: 10.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/1.127, allocations: 1.101 MB / 1.399 GB, free: 9.469 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/1.133, allocations: 1.923 MB / 1.401 GB, free: 7.527 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.133, allocations: 0 / 1.401 GB, free: 7.527 MB / 1.123 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007529/1.14, allocations: 2.327 MB / 1.403 GB, free: 5.188 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/1.14, allocations: 6.031 kB / 1.403 GB, free: 5.184 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.14, allocations: 4 kB / 1.403 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/1.141, allocations: 84.83 kB / 1.403 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.143, allocations: 427.3 kB / 1.403 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.146, allocations: 1.642 MB / 1.405 GB, free: 2.883 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.148, allocations: 290.5 kB / 1.405 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.148, allocations: 67.92 kB / 1.405 GB, free: 2.531 MB / 1.123 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.0007003/1.149, allocations: 331.8 kB / 1.406 GB, free: 2.199 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.149, allocations: 106.7 kB / 1.406 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/1.157, allocations: 2.719 MB / 1.408 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.157, allocations: 16 kB / 1.408 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.157, allocations: 0 / 1.408 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.157, allocations: 11.97 kB / 1.408 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009746/1.167, allocations: 4.299 MB / 1.413 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.167, allocations: 0 / 1.413 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.169, allocations: 415.3 kB / 1.413 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/1.17, allocations: 72.78 kB / 1.413 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/1.17, allocations: 51.94 kB / 1.413 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.172, allocations: 1.674 MB / 1.415 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.172, allocations: 4.031 kB / 1.415 GB, free: 8.617 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007391/1.179, allocations: 2.493 MB / 1.417 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/1.18, allocations: 423.2 kB / 1.418 GB, free: 5.668 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.18, allocations: 28 kB / 1.418 GB, free: 5.641 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.182, allocations: 231.7 kB / 1.418 GB, free: 5.414 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.182, allocations: 97.17 kB / 1.418 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.182, allocations: 67.88 kB / 1.418 GB, free: 5.254 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006972/1.183, allocations: 0.5575 MB / 1.419 GB, free: 4.699 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.183, allocations: 0 / 1.419 GB, free: 4.699 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001254/1.184, allocations: 499 kB / 1.419 GB, free: 4.211 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,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.001451/1.186, allocations: 0.6505 MB / 1.42 GB, free: 3.734 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007066/1.193, allocations: 2.352 MB / 1.422 GB, free: 1.367 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.193, allocations: 4 kB / 1.422 GB, free: 1.363 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/1.197, allocations: 1.306 MB / 1.423 GB, free: 48 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.198, allocations: 336.4 kB / 1.424 GB, free: 15.74 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/1.204, allocations: 2.852 MB / 1.426 GB, free: 12.85 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/1.205, allocations: 1.159 MB / 1.428 GB, free: 11.66 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008383/1.206, allocations: 195.2 kB / 1.428 GB, free: 11.46 MB / 1.154 GB Notification: Performance of SimCode: time 1.042e-06/1.206, allocations: 0 / 1.428 GB, free: 11.46 MB / 1.154 GB Notification: Performance of Templates: time 0.0363/1.242, allocations: 28.67 MB / 1.456 GB, free: 14.87 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