Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001597/0.001597, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001692/0.001692, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 76.31 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008271/0.3098, allocations: 6.256 MB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7903/1.1, allocations: 151.5 MB / 1.172 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/1.101, allocations: 17.84 kB / 1.172 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009606/1.102, allocations: 233.1 kB / 1.172 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/1.105, allocations: 0.6988 MB / 1.173 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.108, allocations: 0.9983 MB / 1.174 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002879/1.111, allocations: 2.044 MB / 1.176 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/1.112, allocations: 0.8551 MB / 1.177 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/1.114, allocations: 0.7258 MB / 1.177 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/1.115, allocations: 0.8088 MB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006436/1.116, allocations: 191.2 kB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/1.118, allocations: 0.642 MB / 1.179 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007753/1.119, allocations: 475 kB / 1.18 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.12, allocations: 0.8545 MB / 1.18 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/1.123, allocations: 2.424 MB / 1.183 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.123, allocations: 0 / 1.183 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/1.123, allocations: 0 / 1.183 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.891e-05/1.123, allocations: 0 / 1.183 GB, free: 8.367 MB / 0.8887 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.003325/1.126, allocations: 1.91 MB / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.126, allocations: 9.719 kB / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009297/1.135, allocations: 1.29 MB / 1.186 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.137, allocations: 1.03 MB / 1.187 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/1.137, allocations: 103.2 kB / 1.187 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/1.137, allocations: 132.7 kB / 1.187 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/1.143, allocations: 2.201 MB / 1.189 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.143, allocations: 7.5 kB / 1.189 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/1.143, allocations: 57.28 kB / 1.189 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/1.143, allocations: 36.72 kB / 1.189 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007631/1.15, allocations: 2.962 MB / 1.192 GB, free: 2.504 MB / 0.8887 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.008901/1.159, allocations: 5.411 MB / 1.198 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/1.167, allocations: 2.874 MB / 1.2 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.171, allocations: 1.133 MB / 1.201 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/1.171, allocations: 0.6101 MB / 1.202 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003578/1.175, allocations: 1.45 MB / 1.203 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/1.175, allocations: 0 / 1.203 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133): time 0.01158/1.186, allocations: 3.626 MB / 1.207 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.186, allocations: 197.2 kB / 1.207 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.188, allocations: 0.8137 MB / 1.208 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.188, allocations: 53.7 kB / 1.208 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/1.188, allocations: 0.5084 MB / 1.209 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000457/1.189, allocations: 433.7 kB / 1.209 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/1.189, allocations: 274.6 kB / 1.209 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.19, allocations: 353.9 kB / 1.21 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.193, allocations: 1.052 MB / 1.211 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/1.196, allocations: 1.195 MB / 1.212 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006211/1.202, allocations: 2.06 MB / 1.214 GB, free: 440 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.202, allocations: 0 / 1.214 GB, free: 440 kB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007739/1.21, allocations: 2.487 MB / 1.216 GB, free: 13.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.21, allocations: 4 kB / 1.216 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.21, allocations: 4 kB / 1.216 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/1.211, allocations: 80.84 kB / 1.216 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/1.213, allocations: 435.3 kB / 1.217 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/1.215, allocations: 1.664 MB / 1.218 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.218, allocations: 278.7 kB / 1.219 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/1.218, allocations: 63.92 kB / 1.219 GB, free: 11.27 MB / 0.92 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.0008242/1.219, allocations: 368.9 kB / 1.219 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/1.219, allocations: 114.5 kB / 1.219 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008395/1.228, allocations: 2.878 MB / 1.222 GB, free: 7.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.228, allocations: 16 kB / 1.222 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.228, allocations: 0 / 1.222 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.228, allocations: 7.969 kB / 1.222 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/1.23, allocations: 1.819 MB / 1.224 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.23, allocations: 0 / 1.224 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.232, allocations: 415.4 kB / 1.224 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/1.233, allocations: 80.77 kB / 1.224 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.233, allocations: 51.94 kB / 1.224 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/1.235, allocations: 1.67 MB / 1.226 GB, free: 3.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.235, allocations: 0 / 1.226 GB, free: 3.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007604/1.243, allocations: 2.58 MB / 1.228 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/1.243, allocations: 470.9 kB / 1.229 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.244, allocations: 35.92 kB / 1.229 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/1.246, allocations: 224.4 kB / 1.229 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.246, allocations: 105.1 kB / 1.229 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.246, allocations: 67.94 kB / 1.229 GB, free: 156 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007652/1.247, allocations: 0.5811 MB / 1.23 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.247, allocations: 0 / 1.23 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001411/1.248, allocations: 0.5068 MB / 1.23 GB, free: 15.06 MB / 0.9356 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.001609/1.25, allocations: 0.6408 MB / 1.231 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009416/1.259, allocations: 3.105 MB / 1.234 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.259, allocations: 0 / 1.234 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/1.264, allocations: 1.396 MB / 1.235 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.266, allocations: 367 kB / 1.236 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/1.273, allocations: 3.094 MB / 1.239 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/1.274, allocations: 1.191 MB / 1.24 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008945/1.275, allocations: 195.2 kB / 1.24 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/1.275, allocations: 8 kB / 1.24 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.0462/1.321, allocations: 30.7 MB / 1.27 GB, free: 6.562 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches