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.006401/0.006402, allocations: 97.62 kB / 15.73 MB, free: 6.035 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.001433/0.001433, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.746/2.746, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 64.12 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3502, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008696/0.359, allocations: 6.265 MB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9534/1.312, allocations: 151.6 MB / 1.321 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/1.314, allocations: 18.19 kB / 1.321 GB, free: 8.973 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/1.315, allocations: 233.7 kB / 1.321 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/1.319, allocations: 0.6997 MB / 1.322 GB, free: 8.523 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/1.322, allocations: 1.003 MB / 1.323 GB, free: 8.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003754/1.326, allocations: 2.054 MB / 1.325 GB, free: 7.949 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/1.328, allocations: 0.8609 MB / 1.325 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/1.329, allocations: 0.745 MB / 1.326 GB, free: 7.121 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.331, allocations: 0.7931 MB / 1.327 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/1.331, allocations: 192.3 kB / 1.327 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/1.333, allocations: 0.6676 MB / 1.328 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005223/1.333, allocations: 479.4 kB / 1.328 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009954/1.334, allocations: 0.8521 MB / 1.329 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/1.338, allocations: 2.48 MB / 1.331 GB, free: 4.664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.338, allocations: 2.25 kB / 1.331 GB, free: 4.664 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.524e-06/1.338, allocations: 0.5625 kB / 1.331 GB, free: 4.664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.053e-05/1.338, allocations: 4 kB / 1.332 GB, free: 4.66 MB / 1.014 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.004333/1.342, allocations: 1.962 MB / 1.333 GB, free: 3.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.343, allocations: 11.92 kB / 1.333 GB, free: 3.367 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008813/1.351, allocations: 1.292 MB / 1.335 GB, free: 3.215 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/1.354, allocations: 1.065 MB / 1.336 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.354, allocations: 100.6 kB / 1.336 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/1.355, allocations: 129.5 kB / 1.336 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/1.361, allocations: 2.202 MB / 1.338 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.361, allocations: 11.92 kB / 1.338 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/1.361, allocations: 57.19 kB / 1.338 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/1.361, allocations: 33.41 kB / 1.338 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/1.37, allocations: 2.965 MB / 1.341 GB, free: 0.8516 MB / 1.014 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.01196/1.382, allocations: 5.367 MB / 1.346 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008719/1.39, allocations: 2.874 MB / 1.349 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/1.394, allocations: 1.13 MB / 1.35 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.395, allocations: 0.6053 MB / 1.351 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004077/1.399, allocations: 1.453 MB / 1.352 GB, free: 10.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=133): time 4.579e-06/1.399, allocations: 1.094 kB / 1.352 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=133): time 0.01176/1.41, allocations: 3.633 MB / 1.356 GB, free: 8.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.411, allocations: 202.7 kB / 1.356 GB, free: 8.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.412, allocations: 0.8155 MB / 1.357 GB, free: 7.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/1.412, allocations: 53.45 kB / 1.357 GB, free: 7.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/1.413, allocations: 0.5109 MB / 1.357 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/1.413, allocations: 467.4 kB / 1.358 GB, free: 6.652 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005097/1.414, allocations: 267.2 kB / 1.358 GB, free: 6.496 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.414, allocations: 350.8 kB / 1.358 GB, free: 6.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/1.417, allocations: 1.052 MB / 1.359 GB, free: 5.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.42, allocations: 1.192 MB / 1.361 GB, free: 4.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/1.427, allocations: 2.063 MB / 1.363 GB, free: 3.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.427, allocations: 0 / 1.363 GB, free: 3.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007748/1.434, allocations: 2.495 MB / 1.365 GB, free: 2.527 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.434, allocations: 5.781 kB / 1.365 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.434, allocations: 0 / 1.365 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/1.435, allocations: 88.25 kB / 1.365 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.438, allocations: 437.8 kB / 1.366 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/1.44, allocations: 1.647 MB / 1.367 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.443, allocations: 289.1 kB / 1.367 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/1.443, allocations: 61.28 kB / 1.367 GB, free: 0.5234 MB / 1.029 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.00112/1.444, allocations: 364.9 kB / 1.368 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/1.445, allocations: 123.1 kB / 1.368 GB, free: 188 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008411/1.453, allocations: 2.878 MB / 1.371 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.453, allocations: 16.61 kB / 1.371 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.453, allocations: 2.094 kB / 1.371 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.453, allocations: 7.969 kB / 1.371 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/1.456, allocations: 1.816 MB / 1.373 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.456, allocations: 0 / 1.373 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.458, allocations: 414.2 kB / 1.373 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/1.459, allocations: 73.72 kB / 1.373 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/1.459, allocations: 51.06 kB / 1.373 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.461, allocations: 1.673 MB / 1.375 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.461, allocations: 0 / 1.375 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/1.469, allocations: 2.586 MB / 1.377 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.47, allocations: 481 kB / 1.378 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.47, allocations: 30.19 kB / 1.378 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.472, allocations: 227.3 kB / 1.378 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.473, allocations: 103 kB / 1.378 GB, free: 9.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.473, allocations: 66.06 kB / 1.378 GB, free: 9.426 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008555/1.474, allocations: 0.5855 MB / 1.379 GB, free: 9.098 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.61e-07/1.474, allocations: 0 / 1.379 GB, free: 9.098 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001647/1.475, allocations: 0.5126 MB / 1.379 GB, free: 8.965 MB / 1.045 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.001573/1.477, allocations: 0.649 MB / 1.38 GB, free: 8.648 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007648/1.484, allocations: 2.53 MB / 1.382 GB, free: 6.891 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.485, allocations: 4 kB / 1.382 GB, free: 6.887 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003906/1.488, allocations: 1.392 MB / 1.384 GB, free: 5.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.49, allocations: 355 kB / 1.384 GB, free: 5.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/1.497, allocations: 3.059 MB / 1.387 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/1.498, allocations: 1.205 MB / 1.388 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001876/1.5, allocations: 481.5 kB / 1.389 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/1.5, allocations: 171.3 kB / 1.389 GB, free: 192 kB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/1.5, allocations: 0 / 1.389 GB, free: 192 kB / 1.045 GB Notification: Performance of Templates: time 0.04353/1.544, allocations: 24.6 MB / 1.413 GB, free: 7.766 MB / 1.076 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/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