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.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.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.00131/0.00131, allocations: 103 kB / 16.41 MB, free: 6.512 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.001319/0.001319, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.304/1.304, allocations: 222.9 MB / 241 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.395/2.395, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 79.81 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8979, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008433/0.9064, allocations: 5.849 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1687/1.075, allocations: 151.3 MB / 1.321 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/1.076, allocations: 15.94 kB / 1.321 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009509/1.077, allocations: 229.8 kB / 1.321 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/1.08, allocations: 0.6571 MB / 1.322 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/1.082, allocations: 0.9833 MB / 1.323 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002501/1.085, allocations: 1.905 MB / 1.324 GB, free: 2.336 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/1.086, allocations: 0.7755 MB / 1.325 GB, free: 1.527 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/1.087, allocations: 0.6698 MB / 1.326 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/1.089, allocations: 0.7509 MB / 1.327 GB, free: 104 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004166/1.089, allocations: 160 kB / 1.327 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/1.09, allocations: 0.6362 MB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/1.091, allocations: 446.6 kB / 1.328 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/1.092, allocations: 0.7813 MB / 1.329 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/1.096, allocations: 2.206 MB / 1.331 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.096, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.524e-06/1.096, allocations: 3.938 kB / 1.331 GB, free: 11.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.333e-05/1.096, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.061 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.00372/1.099, allocations: 1.811 MB / 1.333 GB, free: 9.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.099, allocations: 8.625 kB / 1.333 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008705/1.108, allocations: 1.275 MB / 1.334 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.11, allocations: 0.9808 MB / 1.335 GB, free: 7.688 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/1.11, allocations: 90.45 kB / 1.335 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.11, allocations: 116 kB / 1.335 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/1.115, allocations: 2.038 MB / 1.337 GB, free: 5.383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.115, allocations: 7.875 kB / 1.337 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/1.115, allocations: 48 kB / 1.337 GB, free: 5.328 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.115, allocations: 32 kB / 1.337 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007141/1.122, allocations: 2.764 MB / 1.34 GB, free: 2.523 MB / 1.061 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.008763/1.131, allocations: 4.689 MB / 1.344 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/1.139, allocations: 2.741 MB / 1.347 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/1.141, allocations: 1.034 MB / 1.348 GB, free: 9.887 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/1.142, allocations: 0.6102 MB / 1.349 GB, free: 9.148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003398/1.145, allocations: 1.355 MB / 1.35 GB, free: 7.773 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 3.447e-06/1.145, allocations: 0 / 1.35 GB, free: 7.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.01057/1.156, allocations: 3.375 MB / 1.353 GB, free: 4.371 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.156, allocations: 201.2 kB / 1.353 GB, free: 4.129 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.157, allocations: 0.7822 MB / 1.354 GB, free: 3.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/1.158, allocations: 49.7 kB / 1.354 GB, free: 3.285 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/1.158, allocations: 488.8 kB / 1.355 GB, free: 2.801 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/1.158, allocations: 429.8 kB / 1.355 GB, free: 2.375 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/1.159, allocations: 270.6 kB / 1.355 GB, free: 2.105 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.159, allocations: 353.9 kB / 1.356 GB, free: 1.754 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/1.162, allocations: 0.9665 MB / 1.357 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/1.165, allocations: 1.089 MB / 1.358 GB, free: 15.68 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005611/1.171, allocations: 1.927 MB / 1.36 GB, free: 13.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.171, allocations: 0 / 1.36 GB, free: 13.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006992/1.178, allocations: 2.327 MB / 1.362 GB, free: 11.39 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.178, allocations: 4 kB / 1.362 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.178, allocations: 0 / 1.362 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/1.178, allocations: 92.77 kB / 1.362 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.181, allocations: 431.3 kB / 1.362 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/1.183, allocations: 1.652 MB / 1.364 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.185, allocations: 286.5 kB / 1.364 GB, free: 8.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.185, allocations: 67.92 kB / 1.364 GB, free: 8.73 MB / 1.092 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.0007279/1.186, allocations: 338 kB / 1.365 GB, free: 8.395 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.186, allocations: 106.8 kB / 1.365 GB, free: 8.289 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0076/1.194, allocations: 2.719 MB / 1.367 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.194, allocations: 16 kB / 1.367 GB, free: 5.539 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.194, allocations: 0 / 1.367 GB, free: 5.539 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.194, allocations: 7.969 kB / 1.367 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/1.204, allocations: 4.31 MB / 1.372 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.204, allocations: 0 / 1.372 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.206, allocations: 407.3 kB / 1.372 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/1.206, allocations: 80.77 kB / 1.372 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.206, allocations: 55.94 kB / 1.372 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.208, allocations: 1.67 MB / 1.374 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.208, allocations: 0 / 1.374 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006854/1.215, allocations: 2.497 MB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008268/1.216, allocations: 423.2 kB / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.216, allocations: 28 kB / 1.377 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.218, allocations: 227.7 kB / 1.377 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.219, allocations: 101.2 kB / 1.377 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.219, allocations: 67.88 kB / 1.377 GB, free: 11.44 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007405/1.219, allocations: 0.5498 MB / 1.378 GB, free: 10.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.51e-07/1.219, allocations: 4 kB / 1.378 GB, free: 10.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001371/1.221, allocations: 0.4912 MB / 1.378 GB, free: 10.4 MB / 1.107 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.001518/1.222, allocations: 0.6519 MB / 1.379 GB, free: 9.906 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006585/1.229, allocations: 2.352 MB / 1.381 GB, free: 7.539 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.229, allocations: 4 kB / 1.381 GB, free: 7.535 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/1.232, allocations: 1.306 MB / 1.382 GB, free: 6.219 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/1.234, allocations: 345.9 kB / 1.383 GB, free: 5.898 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/1.24, allocations: 2.862 MB / 1.385 GB, free: 3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/1.241, allocations: 1.159 MB / 1.386 GB, free: 1.812 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/1.241, allocations: 199.2 kB / 1.387 GB, free: 1.621 MB / 1.107 GB Notification: Performance of SimCode: time 4.91e-07/1.241, allocations: 0 / 1.387 GB, free: 1.621 MB / 1.107 GB Notification: Performance of Templates: time 0.03757/1.279, allocations: 28.65 MB / 1.415 GB, free: 5.004 MB / 1.139 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 -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