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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008418/0.008419, allocations: 99.64 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.001781/0.001781, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 59.91 kB / 1.054 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3685, allocations: 157.4 MB / 1.207 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008847/0.3774, allocations: 6.235 MB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.071/1.448, allocations: 151.6 MB / 1.361 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/1.45, allocations: 20.66 kB / 1.361 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/1.451, allocations: 229.6 kB / 1.362 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/1.454, allocations: 0.6949 MB / 1.362 GB, free: 7.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/1.458, allocations: 1.001 MB / 1.363 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.461, allocations: 2.055 MB / 1.365 GB, free: 5.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/1.463, allocations: 0.8459 MB / 1.366 GB, free: 5.242 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/1.465, allocations: 0.7496 MB / 1.367 GB, free: 4.863 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/1.467, allocations: 0.7976 MB / 1.368 GB, free: 4.449 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006844/1.467, allocations: 192.2 kB / 1.368 GB, free: 4.449 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/1.469, allocations: 0.6626 MB / 1.368 GB, free: 4.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/1.47, allocations: 478.7 kB / 1.369 GB, free: 4.008 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/1.471, allocations: 0.8627 MB / 1.37 GB, free: 3.438 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/1.475, allocations: 2.471 MB / 1.372 GB, free: 2.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.475, allocations: 5.625 kB / 1.372 GB, free: 2.391 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.946e-06/1.475, allocations: 1.5 kB / 1.372 GB, free: 2.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.629e-05/1.475, allocations: 0 / 1.372 GB, free: 2.391 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004427/1.479, allocations: 1.915 MB / 1.374 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.479, allocations: 10.38 kB / 1.374 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/1.48, allocations: 196.4 kB / 1.374 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/1.489, allocations: 1.293 MB / 1.375 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/1.491, allocations: 1.062 MB / 1.376 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.491, allocations: 96.92 kB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/1.492, allocations: 130.2 kB / 1.377 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/1.498, allocations: 2.21 MB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.498, allocations: 1 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/1.498, allocations: 56.38 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/1.498, allocations: 32.19 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008153/1.506, allocations: 2.966 MB / 1.382 GB, free: 12.34 MB / 1.076 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.01167/1.518, allocations: 5.359 MB / 1.387 GB, free: 8.277 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008623/1.526, allocations: 2.886 MB / 1.39 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/1.53, allocations: 1.128 MB / 1.391 GB, free: 6.176 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/1.53, allocations: 0.6086 MB / 1.392 GB, free: 5.477 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004009/1.534, allocations: 1.446 MB / 1.393 GB, free: 4.605 MB / 1.076 GB Notification: Performance of pre-optimization done (n=133): time 6.583e-06/1.534, allocations: 0 / 1.393 GB, free: 4.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=133): time 0.01176/1.546, allocations: 3.63 MB / 1.397 GB, free: 2.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/1.546, allocations: 198.3 kB / 1.397 GB, free: 2.449 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.548, allocations: 0.8177 MB / 1.398 GB, free: 1.984 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/1.548, allocations: 50.98 kB / 1.398 GB, free: 1.934 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/1.549, allocations: 0.5161 MB / 1.398 GB, free: 1.477 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000499/1.549, allocations: 433.1 kB / 1.399 GB, free: 1.102 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/1.55, allocations: 255.8 kB / 1.399 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.55, allocations: 350.9 kB / 1.399 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/1.553, allocations: 1.033 MB / 1.4 GB, free: 68 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/1.556, allocations: 1.18 MB / 1.401 GB, free: 15.39 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006124/1.562, allocations: 2.048 MB / 1.403 GB, free: 13.9 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/1.562, allocations: 1.062 kB / 1.403 GB, free: 13.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007762/1.57, allocations: 2.432 MB / 1.406 GB, free: 11.46 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.57, allocations: 8 kB / 1.406 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.57, allocations: 1.562 kB / 1.406 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006652/1.571, allocations: 88.83 kB / 1.406 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/1.573, allocations: 423.3 kB / 1.406 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/1.576, allocations: 1.648 MB / 1.408 GB, free: 9.152 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/1.578, allocations: 283.7 kB / 1.408 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.579, allocations: 58.88 kB / 1.408 GB, free: 8.82 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: 18 (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 (143): * Single equations (assignments): 142 * 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.001022/1.58, allocations: 355.3 kB / 1.408 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/1.58, allocations: 114.5 kB / 1.409 GB, free: 8.352 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007969/1.588, allocations: 2.875 MB / 1.411 GB, free: 5.473 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.588, allocations: 16 kB / 1.411 GB, free: 5.457 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.588, allocations: 0 / 1.411 GB, free: 5.457 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.588, allocations: 11.97 kB / 1.411 GB, free: 5.445 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/1.591, allocations: 1.819 MB / 1.413 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.591, allocations: 1.406 kB / 1.413 GB, free: 3.574 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.593, allocations: 411.3 kB / 1.414 GB, free: 3.172 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.594, allocations: 76.78 kB / 1.414 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/1.594, allocations: 47.94 kB / 1.414 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.596, allocations: 1.674 MB / 1.415 GB, free: 1.227 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.596, allocations: 0 / 1.415 GB, free: 1.227 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/1.604, allocations: 2.576 MB / 1.418 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.605, allocations: 463.1 kB / 1.418 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/1.605, allocations: 43.92 kB / 1.418 GB, free: 14.1 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.607, allocations: 219.7 kB / 1.418 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/1.608, allocations: 105.2 kB / 1.419 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.608, allocations: 67.94 kB / 1.419 GB, free: 13.72 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00107/1.609, allocations: 0.5927 MB / 1.419 GB, free: 13.13 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.51e-07/1.609, allocations: 0 / 1.419 GB, free: 13.13 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001755/1.611, allocations: 0.499 MB / 1.42 GB, free: 12.63 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,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.009476/1.62, allocations: 3.672 MB / 1.423 GB, free: 9.121 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007179/1.627, allocations: 2.492 MB / 1.426 GB, free: 6.613 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.627, allocations: 4 kB / 1.426 GB, free: 6.609 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/1.631, allocations: 1.407 MB / 1.427 GB, free: 5.191 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.633, allocations: 354.8 kB / 1.427 GB, free: 4.863 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.662, allocations: 12.7 MB / 1.44 GB, free: 8.004 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/1.663, allocations: 1.191 MB / 1.441 GB, free: 6.777 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001897/1.665, allocations: 489.5 kB / 1.441 GB, free: 6.297 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.666, allocations: 0.5773 MB / 1.442 GB, free: 5.719 MB / 1.123 GB Notification: Performance of SimCode: time 9.52e-07/1.666, allocations: 0 / 1.442 GB, free: 5.719 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07804/1.744, allocations: 33.93 MB / 1.475 GB, free: 4.086 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.95, allocations: 9.875 kB / 1.475 GB, free: 4.078 MB / 1.154 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > 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