Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_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_latest_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.001231/0.001231, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001253/0.001253, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.57/2.57, allocations: 469.4 MB / 0.7428 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8597, allocations: 159.1 MB / 1.221 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008973/0.8687, allocations: 6.236 MB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1754/1.044, allocations: 151.6 MB / 1.375 GB, free: 3.996 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/1.046, allocations: 23.88 kB / 1.375 GB, free: 3.973 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/1.047, allocations: 229.8 kB / 1.375 GB, free: 3.746 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/1.05, allocations: 0.7054 MB / 1.376 GB, free: 3.043 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/1.053, allocations: 1.008 MB / 1.377 GB, free: 2.039 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002963/1.056, allocations: 2.056 MB / 1.379 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.057, allocations: 0.8601 MB / 1.38 GB, free: 15.08 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/1.059, allocations: 0.7438 MB / 1.38 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/1.06, allocations: 0.7976 MB / 1.381 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005202/1.061, allocations: 192 kB / 1.381 GB, free: 13.35 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/1.062, allocations: 0.6635 MB / 1.382 GB, free: 12.68 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00067/1.063, allocations: 482.6 kB / 1.383 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/1.064, allocations: 0.8591 MB / 1.383 GB, free: 11.35 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003663/1.068, allocations: 2.475 MB / 1.386 GB, free: 8.867 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.068, allocations: 0 / 1.386 GB, free: 8.867 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.493e-06/1.068, allocations: 0 / 1.386 GB, free: 8.867 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.601e-05/1.068, allocations: 0 / 1.386 GB, free: 8.867 MB / 1.107 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.004904/1.073, allocations: 1.91 MB / 1.388 GB, free: 6.895 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.073, allocations: 12.62 kB / 1.388 GB, free: 6.883 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009309/1.083, allocations: 1.29 MB / 1.389 GB, free: 5.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/1.085, allocations: 1.051 MB / 1.39 GB, free: 4.496 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.085, allocations: 106.7 kB / 1.39 GB, free: 4.391 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/1.086, allocations: 132 kB / 1.39 GB, free: 4.262 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006096/1.092, allocations: 2.205 MB / 1.392 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/1.092, allocations: 0 / 1.392 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/1.092, allocations: 56 kB / 1.392 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/1.092, allocations: 35.94 kB / 1.392 GB, free: 1.906 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007977/1.1, allocations: 2.964 MB / 1.395 GB, free: 14.93 MB / 1.123 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.01145/1.112, allocations: 5.345 MB / 1.401 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008229/1.12, allocations: 2.884 MB / 1.403 GB, free: 6.543 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.123, allocations: 1.136 MB / 1.404 GB, free: 5.41 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/1.124, allocations: 0.6105 MB / 1.405 GB, free: 4.668 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003755/1.128, allocations: 1.446 MB / 1.406 GB, free: 3.203 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 4.979e-06/1.128, allocations: 0 / 1.406 GB, free: 3.203 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01142/1.139, allocations: 3.629 MB / 1.41 GB, free: 15.55 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.139, allocations: 201.2 kB / 1.41 GB, free: 15.3 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.141, allocations: 0.8099 MB / 1.411 GB, free: 14.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/1.141, allocations: 57.7 kB / 1.411 GB, free: 14.42 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/1.141, allocations: 0.5084 MB / 1.412 GB, free: 13.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.142, allocations: 441.6 kB / 1.412 GB, free: 13.47 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/1.142, allocations: 270.7 kB / 1.412 GB, free: 13.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.142, allocations: 349.9 kB / 1.413 GB, free: 12.85 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/1.146, allocations: 1.06 MB / 1.414 GB, free: 11.79 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/1.149, allocations: 1.175 MB / 1.415 GB, free: 10.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005928/1.155, allocations: 2.079 MB / 1.417 GB, free: 8.496 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.155, allocations: 8 kB / 1.417 GB, free: 8.488 MB / 1.139 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00739/1.162, allocations: 2.479 MB / 1.419 GB, free: 5.996 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.162, allocations: 8.062 kB / 1.419 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.162, allocations: 0 / 1.419 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/1.163, allocations: 88.77 kB / 1.419 GB, free: 5.898 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/1.165, allocations: 435.3 kB / 1.42 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.168, allocations: 1.643 MB / 1.421 GB, free: 3.684 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/1.17, allocations: 286.6 kB / 1.422 GB, free: 3.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.17, allocations: 67.92 kB / 1.422 GB, free: 3.336 MB / 1.139 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.001123/1.172, allocations: 351.8 kB / 1.422 GB, free: 2.984 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.172, allocations: 118.5 kB / 1.422 GB, free: 2.867 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008421/1.181, allocations: 2.876 MB / 1.425 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.181, allocations: 12 kB / 1.425 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.181, allocations: 4 kB / 1.425 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.181, allocations: 7.969 kB / 1.425 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/1.183, allocations: 1.808 MB / 1.427 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.183, allocations: 4 kB / 1.427 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.186, allocations: 411.3 kB / 1.427 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/1.186, allocations: 76.77 kB / 1.427 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/1.187, allocations: 51.94 kB / 1.427 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.189, allocations: 1.67 MB / 1.429 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.189, allocations: 4.031 kB / 1.429 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/1.196, allocations: 2.576 MB / 1.431 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.197, allocations: 471 kB / 1.432 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/1.198, allocations: 35.97 kB / 1.432 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.2, allocations: 231.7 kB / 1.432 GB, free: 8.395 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.2, allocations: 101.2 kB / 1.432 GB, free: 8.297 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.2, allocations: 63.92 kB / 1.432 GB, free: 8.234 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009765/1.201, allocations: 0.581 MB / 1.433 GB, free: 7.66 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.71e-07/1.201, allocations: 3.938 kB / 1.433 GB, free: 7.656 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001535/1.203, allocations: 0.5107 MB / 1.433 GB, free: 7.145 MB / 1.154 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.001651/1.204, allocations: 0.6546 MB / 1.434 GB, free: 6.668 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007182/1.212, allocations: 2.527 MB / 1.436 GB, free: 4.129 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/1.212, allocations: 0 / 1.436 GB, free: 4.129 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/1.215, allocations: 1.4 MB / 1.438 GB, free: 2.715 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.217, allocations: 353.3 kB / 1.438 GB, free: 2.387 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/1.224, allocations: 3.065 MB / 1.441 GB, free: 15.29 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000899/1.225, allocations: 1.195 MB / 1.442 GB, free: 14.07 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.226, allocations: 195.2 kB / 1.442 GB, free: 13.88 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/1.226, allocations: 0 / 1.442 GB, free: 13.88 MB / 1.17 GB Notification: Performance of Templates: time 0.04145/1.268, allocations: 30.86 MB / 1.473 GB, free: 15.09 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches