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.001637/0.001637, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.838/2.838, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7527, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009227/0.7619, allocations: 6.258 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.9522, allocations: 151.5 MB / 1.171 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.9534, allocations: 19.94 kB / 1.171 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.9541, allocations: 233.7 kB / 1.172 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.9565, allocations: 0.6988 MB / 1.172 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.9588, allocations: 0.989 MB / 1.173 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.9609, allocations: 2.052 MB / 1.175 GB, free: 228 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.9622, allocations: 0.8562 MB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/0.9631, allocations: 0.7359 MB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00091/0.964, allocations: 0.7951 MB / 1.178 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.9643, allocations: 192 kB / 1.178 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.9654, allocations: 0.6479 MB / 1.178 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.9659, allocations: 474.6 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.9667, allocations: 0.8592 MB / 1.18 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.9694, allocations: 2.415 MB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9694, allocations: 4 kB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9694, allocations: 0 / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.9695, allocations: 0 / 1.182 GB, free: 9.203 MB / 0.9356 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.00348/0.973, allocations: 1.906 MB / 1.184 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.973, allocations: 8.031 kB / 1.184 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009425/0.9824, allocations: 1.298 MB / 1.185 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.9843, allocations: 1.028 MB / 1.186 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.9844, allocations: 98.67 kB / 1.186 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.9847, allocations: 136 kB / 1.186 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.9905, allocations: 2.205 MB / 1.189 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.9905, allocations: 3.938 kB / 1.189 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.9907, allocations: 56 kB / 1.189 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.9908, allocations: 32 kB / 1.189 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008677/0.9994, allocations: 2.964 MB / 1.192 GB, free: 15.29 MB / 0.9512 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.01054/1.01, allocations: 5.412 MB / 1.197 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009082/1.019, allocations: 2.872 MB / 1.2 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/1.023, allocations: 1.129 MB / 1.201 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007095/1.024, allocations: 0.6104 MB / 1.201 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004112/1.028, allocations: 1.45 MB / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/1.028, allocations: 0 / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01262/1.04, allocations: 3.625 MB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.04, allocations: 197.2 kB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.042, allocations: 0.8177 MB / 1.207 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.042, allocations: 45.7 kB / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.043, allocations: 0.5123 MB / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/1.043, allocations: 437.6 kB / 1.208 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/1.044, allocations: 270.6 kB / 1.209 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.044, allocations: 353.9 kB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/1.047, allocations: 1.052 MB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/1.051, allocations: 1.191 MB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007224/1.058, allocations: 2.063 MB / 1.213 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.058, allocations: 7.938 kB / 1.213 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008597/1.067, allocations: 2.471 MB / 1.216 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.067, allocations: 9.562 kB / 1.216 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.067, allocations: 0 / 1.216 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/1.068, allocations: 88.77 kB / 1.216 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/1.07, allocations: 439.3 kB / 1.216 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/1.073, allocations: 1.654 MB / 1.218 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/1.075, allocations: 282.6 kB / 1.218 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/1.076, allocations: 71.92 kB / 1.218 GB, free: 3.656 MB / 0.9669 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.0007955/1.077, allocations: 355.8 kB / 1.218 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/1.077, allocations: 114.5 kB / 1.218 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009478/1.086, allocations: 2.88 MB / 1.221 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.086, allocations: 16 kB / 1.221 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.086, allocations: 4 kB / 1.221 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.086, allocations: 3.984 kB / 1.221 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/1.089, allocations: 1.827 MB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.089, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.092, allocations: 407.4 kB / 1.223 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/1.092, allocations: 80.72 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.092, allocations: 51.94 kB / 1.224 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.094, allocations: 1.677 MB / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.094, allocations: 0 / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/1.103, allocations: 2.58 MB / 1.228 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/1.104, allocations: 467 kB / 1.228 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/1.104, allocations: 28 kB / 1.228 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/1.106, allocations: 233.1 kB / 1.228 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/1.106, allocations: 101.2 kB / 1.229 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.107, allocations: 63.94 kB / 1.229 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009007/1.108, allocations: 0.5849 MB / 1.229 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.108, allocations: 0 / 1.229 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001443/1.109, allocations: 0.5029 MB / 1.23 GB, free: 7.453 MB / 0.9825 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.002278/1.111, allocations: 0.6531 MB / 1.23 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.122, allocations: 3.109 MB / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.122, allocations: 0 / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00436/1.126, allocations: 1.4 MB / 1.235 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.128, allocations: 349.3 kB / 1.235 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/1.135, allocations: 3.046 MB / 1.238 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.136, allocations: 1.183 MB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00201/1.138, allocations: 497.5 kB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/1.139, allocations: 171.3 kB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.194e-06/1.139, allocations: 0 / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.5344/1.673, allocations: 24.34 MB / 1.264 GB, free: 225.2 MB / 0.9981 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches