Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007722/0.007722, allocations: 100 kB / 15.73 MB, free: 6.062 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.001707/0.001707, allocations: 194.2 kB / 16.67 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7826, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007436/0.7901, allocations: 5.851 MB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.9503, allocations: 151.7 MB / 1.375 GB, free: 3.895 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009606/0.9512, allocations: 19.88 kB / 1.375 GB, free: 3.875 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.9518, allocations: 217.9 kB / 1.375 GB, free: 3.66 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.9536, allocations: 0.6683 MB / 1.375 GB, free: 2.992 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.9556, allocations: 0.9776 MB / 1.376 GB, free: 2.02 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.9576, allocations: 1.901 MB / 1.378 GB, free: 116 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/0.9584, allocations: 0.5228 MB / 1.379 GB, free: 15.56 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.9592, allocations: 0.6815 MB / 1.379 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.9601, allocations: 0.7432 MB / 1.38 GB, free: 14.13 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.9603, allocations: 164 kB / 1.38 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.9614, allocations: 0.6439 MB / 1.381 GB, free: 13.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.9619, allocations: 434.7 kB / 1.381 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.9626, allocations: 0.7774 MB / 1.382 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.9651, allocations: 2.225 MB / 1.384 GB, free: 9.887 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9651, allocations: 0 / 1.384 GB, free: 9.887 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9651, allocations: 0 / 1.384 GB, free: 9.887 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.9652, allocations: 0 / 1.384 GB, free: 9.887 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003397/0.9686, allocations: 1.859 MB / 1.386 GB, free: 7.961 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9686, allocations: 8.031 kB / 1.386 GB, free: 7.953 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009045/0.9776, allocations: 1.287 MB / 1.387 GB, free: 6.664 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.9794, allocations: 0.9777 MB / 1.388 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.9794, allocations: 90.45 kB / 1.388 GB, free: 5.555 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.9797, allocations: 120 kB / 1.388 GB, free: 5.438 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.9846, allocations: 2.034 MB / 1.39 GB, free: 3.34 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.9846, allocations: 0 / 1.39 GB, free: 3.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.9848, allocations: 55.98 kB / 1.391 GB, free: 3.285 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.9848, allocations: 31.94 kB / 1.391 GB, free: 3.254 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007314/0.9921, allocations: 2.76 MB / 1.393 GB, free: 496 kB / 1.107 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.008941/1.001, allocations: 4.718 MB / 1.398 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/1.009, allocations: 2.654 MB / 1.4 GB, free: 8.941 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/1.012, allocations: 0.9911 MB / 1.401 GB, free: 7.941 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/1.012, allocations: 0.6102 MB / 1.402 GB, free: 7.203 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003445/1.016, allocations: 1.355 MB / 1.403 GB, free: 5.832 MB / 1.123 GB Notification: Performance of pre-optimization done (n=132): time 2.785e-06/1.016, allocations: 0 / 1.403 GB, free: 5.832 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.01076/1.027, allocations: 3.387 MB / 1.407 GB, free: 2.418 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.027, allocations: 197.2 kB / 1.407 GB, free: 2.18 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.028, allocations: 0.7667 MB / 1.408 GB, free: 1.406 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/1.028, allocations: 57.69 kB / 1.408 GB, free: 1.344 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/1.028, allocations: 497.7 kB / 1.408 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/1.029, allocations: 452.1 kB / 1.409 GB, free: 416 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/1.029, allocations: 266.8 kB / 1.409 GB, free: 144 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.029, allocations: 349.9 kB / 1.409 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.032, allocations: 0.9703 MB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.035, allocations: 1.101 MB / 1.411 GB, free: 13.7 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005787/1.041, allocations: 1.923 MB / 1.413 GB, free: 11.76 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.041, allocations: 0 / 1.413 GB, free: 11.76 MB / 1.139 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007246/1.049, allocations: 2.331 MB / 1.415 GB, free: 9.414 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.049, allocations: 7.938 kB / 1.415 GB, free: 9.406 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.049, allocations: 12.05 kB / 1.415 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.049, allocations: 76.78 kB / 1.415 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.052, allocations: 439.3 kB / 1.416 GB, free: 8.887 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.054, allocations: 1.636 MB / 1.417 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.056, allocations: 286.8 kB / 1.418 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/1.056, allocations: 71.92 kB / 1.418 GB, free: 6.754 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,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.0007125/1.057, allocations: 336 kB / 1.418 GB, free: 6.418 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/1.057, allocations: 115.2 kB / 1.418 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007754/1.065, allocations: 2.723 MB / 1.421 GB, free: 3.566 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.065, allocations: 16 kB / 1.421 GB, free: 3.551 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.065, allocations: 0 / 1.421 GB, free: 3.551 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.065, allocations: 7.969 kB / 1.421 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009696/1.075, allocations: 4.303 MB / 1.425 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.075, allocations: 3.938 kB / 1.425 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.077, allocations: 407.4 kB / 1.425 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/1.077, allocations: 80.72 kB / 1.426 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1.077, allocations: 51.94 kB / 1.426 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/1.079, allocations: 1.682 MB / 1.427 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.079, allocations: 0 / 1.427 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/1.087, allocations: 2.49 MB / 1.43 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/1.087, allocations: 431.7 kB / 1.43 GB, free: 9.855 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.088, allocations: 28 kB / 1.43 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.09, allocations: 227.7 kB / 1.43 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.09, allocations: 101.3 kB / 1.43 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.09, allocations: 75.86 kB / 1.43 GB, free: 9.434 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008937/1.091, allocations: 0.5498 MB / 1.431 GB, free: 8.891 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.091, allocations: 0 / 1.431 GB, free: 8.891 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001498/1.093, allocations: 0.4951 MB / 1.431 GB, free: 8.395 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,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.001538/1.094, allocations: 0.65 MB / 1.432 GB, free: 7.922 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006759/1.101, allocations: 2.309 MB / 1.434 GB, free: 5.598 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.101, allocations: 3.938 kB / 1.434 GB, free: 5.594 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.104, allocations: 1.259 MB / 1.436 GB, free: 4.324 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.106, allocations: 343.3 kB / 1.436 GB, free: 4.008 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/1.112, allocations: 2.839 MB / 1.439 GB, free: 1.133 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/1.113, allocations: 1.163 MB / 1.44 GB, free: 15.94 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001597/1.114, allocations: 485.1 kB / 1.44 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/1.115, allocations: 171.3 kB / 1.44 GB, free: 15.3 MB / 1.17 GB Notification: Performance of SimCode: time 6.11e-07/1.115, allocations: 0 / 1.44 GB, free: 15.3 MB / 1.17 GB Notification: Performance of Templates: time 0.03623/1.151, allocations: 23.48 MB / 1.463 GB, free: 7.988 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches