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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001633/0.001633, 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.001838/0.001838, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.53 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007195/0.3105, allocations: 5.836 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.463, allocations: 151.3 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.4641, allocations: 19.88 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.4651, allocations: 213.9 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.4678, allocations: 0.6597 MB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.4709, allocations: 0.9675 MB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002565/0.4735, allocations: 1.89 MB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.4748, allocations: 0.7721 MB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.4759, allocations: 0.6697 MB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.4773, allocations: 0.7393 MB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004482/0.4778, allocations: 160 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.4795, allocations: 0.6167 MB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.48, allocations: 438.6 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.4811, allocations: 0.7775 MB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.484, allocations: 2.154 MB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.484, allocations: 3.938 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4841, allocations: 0 / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.867e-05/0.4841, allocations: 4 kB / 1.232 GB, free: 2.453 MB / 0.9825 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.004151/0.4883, allocations: 1.812 MB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.4884, allocations: 15.95 kB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009485/0.4979, allocations: 1.275 MB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.4999, allocations: 0.9535 MB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.5, allocations: 94.45 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.5003, allocations: 116 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005669/0.506, allocations: 2.041 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.5061, allocations: 0 / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.5063, allocations: 48 kB / 1.238 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.5064, allocations: 32 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008049/0.5144, allocations: 2.756 MB / 1.24 GB, free: 9.133 MB / 0.9981 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.009226/0.5237, allocations: 4.743 MB / 1.245 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008567/0.5323, allocations: 2.734 MB / 1.248 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/0.5357, allocations: 1.046 MB / 1.249 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5899/1.126, allocations: 0.6013 MB / 1.249 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004319/1.13, allocations: 1.353 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.767e-06/1.13, allocations: 1.406 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01154/1.142, allocations: 3.386 MB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/1.142, allocations: 198.2 kB / 1.254 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.143, allocations: 0.7718 MB / 1.255 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.143, allocations: 51.77 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/1.143, allocations: 481.4 kB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/1.144, allocations: 429.9 kB / 1.256 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/1.144, allocations: 272.8 kB / 1.256 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/1.144, allocations: 351 kB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/1.147, allocations: 0.9683 MB / 1.257 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/1.151, allocations: 1.097 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/1.157, allocations: 1.931 MB / 1.26 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.157, allocations: 0 / 1.26 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007633/1.164, allocations: 2.318 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.164, allocations: 8.094 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.164, allocations: 2.203 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/1.165, allocations: 92.28 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.168, allocations: 431.2 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/1.17, allocations: 1.641 MB / 1.265 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/1.172, allocations: 286.2 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.172, allocations: 64.84 kB / 1.265 GB, free: 178.8 MB / 0.9981 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.0007597/1.173, allocations: 337.9 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/1.173, allocations: 113.1 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008718/1.182, allocations: 2.718 MB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/1.182, allocations: 18.12 kB / 1.268 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.182, allocations: 3.938 kB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.182, allocations: 9.297 kB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.193, allocations: 4.307 MB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/1.193, allocations: 3.344 kB / 1.272 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.195, allocations: 413.6 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/1.196, allocations: 74.11 kB / 1.273 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.196, allocations: 56.28 kB / 1.273 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/1.198, allocations: 1.676 MB / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.198, allocations: 0 / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.205, allocations: 2.487 MB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/1.206, allocations: 430.3 kB / 1.277 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/1.206, allocations: 31.06 kB / 1.277 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.208, allocations: 224.5 kB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.208, allocations: 98.77 kB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.208, allocations: 73.27 kB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006913/1.209, allocations: 0.5489 MB / 1.278 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.209, allocations: 3.938 kB / 1.278 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001334/1.21, allocations: 495.1 kB / 1.279 GB, free: 173 MB / 0.9981 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.001429/1.212, allocations: 0.6491 MB / 1.279 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008618/1.22, allocations: 2.932 MB / 1.282 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.22, allocations: 1.125 kB / 1.282 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.224, allocations: 1.316 MB / 1.284 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.225, allocations: 340.8 kB / 1.284 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/1.232, allocations: 2.837 MB / 1.287 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/1.233, allocations: 1.165 MB / 1.288 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00197/1.235, allocations: 483.1 kB / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/1.236, allocations: 168 kB / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.236, allocations: 0 / 1.288 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03389/1.27, allocations: 23.14 MB / 1.311 GB, free: 150.8 MB / 0.9981 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/jenkins/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