Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_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_10_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.001624/0.001624, allocations: 116.7 kB / 16.37 MB, free: 6 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.001869/0.001869, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 55.66 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.267, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007257/0.2743, allocations: 5.841 MB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6054/0.8798, allocations: 151.3 MB / 1.172 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.881, allocations: 17.06 kB / 1.172 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.8817, allocations: 226.2 kB / 1.172 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.8837, allocations: 0.6596 MB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.8859, allocations: 0.9764 MB / 1.174 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.8881, allocations: 1.903 MB / 1.176 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.8892, allocations: 0.7651 MB / 1.177 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.8903, allocations: 0.6736 MB / 1.177 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008456/0.8912, allocations: 0.7354 MB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.8914, allocations: 166.7 kB / 1.178 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.8927, allocations: 0.6362 MB / 1.179 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.8931, allocations: 448.5 kB / 1.179 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000717/0.8939, allocations: 0.7655 MB / 1.18 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.8963, allocations: 2.207 MB / 1.182 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8963, allocations: 0 / 1.182 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8963, allocations: 1.094 kB / 1.182 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.8964, allocations: 0 / 1.182 GB, free: 8.945 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003377/0.8998, allocations: 1.817 MB / 1.184 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8998, allocations: 10.23 kB / 1.184 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008668/0.9085, allocations: 1.277 MB / 1.185 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.9105, allocations: 0.9782 MB / 1.186 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.9106, allocations: 89.05 kB / 1.186 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.9108, allocations: 122.1 kB / 1.186 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/0.9155, allocations: 2.042 MB / 1.188 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.9156, allocations: 2 kB / 1.188 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.9157, allocations: 52.28 kB / 1.188 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.9157, allocations: 28.62 kB / 1.188 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006874/0.9226, allocations: 2.76 MB / 1.191 GB, free: 3.449 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.008784/0.9314, allocations: 4.713 MB / 1.196 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/0.9386, allocations: 2.74 MB / 1.198 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.9414, allocations: 1.046 MB / 1.199 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.942, allocations: 0.6113 MB / 1.2 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003279/0.9452, allocations: 1.354 MB / 1.201 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=132): time 2.935e-06/0.9453, allocations: 0 / 1.201 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=132): time 0.01077/0.956, allocations: 3.376 MB / 1.205 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.9563, allocations: 205.1 kB / 1.205 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.958, allocations: 0.7706 MB / 1.206 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.9583, allocations: 57.7 kB / 1.206 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.9588, allocations: 476.8 kB / 1.206 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.9594, allocations: 429.8 kB / 1.207 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006492/0.9601, allocations: 270.7 kB / 1.207 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9602, allocations: 349.9 kB / 1.207 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.9631, allocations: 0.9665 MB / 1.208 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.9662, allocations: 1.097 MB / 1.209 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005651/0.9719, allocations: 1.923 MB / 1.211 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9719, allocations: 0 / 1.211 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007137/0.979, allocations: 2.323 MB / 1.213 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.9791, allocations: 11.94 kB / 1.213 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9791, allocations: 4 kB / 1.213 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.9797, allocations: 80.78 kB / 1.213 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.9821, allocations: 427.3 kB / 1.214 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.9842, allocations: 1.658 MB / 1.215 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.9865, allocations: 274.7 kB / 1.216 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.9868, allocations: 67.86 kB / 1.216 GB, free: 14.35 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,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.0006996/0.9875, allocations: 336.5 kB / 1.216 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.9879, allocations: 110.6 kB / 1.216 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/0.9959, allocations: 2.721 MB / 1.219 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.996, allocations: 16 kB / 1.219 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.996, allocations: 0 / 1.219 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.996, allocations: 11.53 kB / 1.219 GB, free: 11.15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.006, allocations: 4.304 MB / 1.223 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.006, allocations: 0 / 1.223 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.009, allocations: 415.3 kB / 1.223 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/1.009, allocations: 72.78 kB / 1.224 GB, free: 6.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.009, allocations: 51.94 kB / 1.224 GB, free: 6.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.011, allocations: 1.678 MB / 1.225 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.011, allocations: 4.094 kB / 1.225 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/1.019, allocations: 2.489 MB / 1.228 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.02, allocations: 423.1 kB / 1.228 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.02, allocations: 32 kB / 1.228 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.022, allocations: 224.4 kB / 1.228 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.022, allocations: 109.1 kB / 1.228 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.023, allocations: 67.92 kB / 1.228 GB, free: 1.055 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008095/1.023, allocations: 0.5498 MB / 1.229 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.2e-07/1.023, allocations: 0 / 1.229 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001578/1.025, allocations: 0.4912 MB / 1.229 GB, free: 16 kB / 0.92 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.001605/1.027, allocations: 0.6459 MB / 1.23 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006876/1.034, allocations: 2.356 MB / 1.232 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.034, allocations: 0 / 1.232 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.037, allocations: 1.314 MB / 1.234 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.039, allocations: 343.9 kB / 1.234 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/1.045, allocations: 2.803 MB / 1.237 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/1.046, allocations: 1.159 MB / 1.238 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001745/1.048, allocations: 485.1 kB / 1.238 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/1.048, allocations: 171.3 kB / 1.238 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of SimCode: time 7.12e-07/1.048, allocations: 0 / 1.238 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.03784/1.086, allocations: 23.14 MB / 1.261 GB, free: 15.91 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches