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.005543/0.005543, allocations: 106 kB / 15.73 MB, free: 6 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.001452/0.001452, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 55.91 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9045, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009093/0.9136, allocations: 6.237 MB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1849/1.099, allocations: 151.6 MB / 1.361 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/1.1, allocations: 23.88 kB / 1.361 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/1.101, allocations: 221.8 kB / 1.362 GB, free: 14.85 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/1.104, allocations: 0.6946 MB / 1.362 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/1.107, allocations: 0.9958 MB / 1.363 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002767/1.109, allocations: 2.06 MB / 1.365 GB, free: 11.1 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.111, allocations: 0.8602 MB / 1.366 GB, free: 10.21 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/1.112, allocations: 0.7399 MB / 1.367 GB, free: 9.465 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/1.113, allocations: 0.8054 MB / 1.368 GB, free: 8.656 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005481/1.114, allocations: 188 kB / 1.368 GB, free: 8.473 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.116, allocations: 0.6636 MB / 1.368 GB, free: 7.809 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005918/1.116, allocations: 486.6 kB / 1.369 GB, free: 7.332 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/1.118, allocations: 0.8515 MB / 1.37 GB, free: 6.477 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/1.121, allocations: 2.477 MB / 1.372 GB, free: 3.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.121, allocations: 0 / 1.372 GB, free: 3.992 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.316e-05/1.121, allocations: 0 / 1.372 GB, free: 3.992 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.748e-05/1.121, allocations: 7.984 kB / 1.372 GB, free: 3.984 MB / 1.092 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.004884/1.126, allocations: 1.91 MB / 1.374 GB, free: 2.016 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.126, allocations: 8.031 kB / 1.374 GB, free: 2.008 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003973/1.127, allocations: 202.7 kB / 1.374 GB, free: 1.801 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009749/1.136, allocations: 1.29 MB / 1.375 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/1.139, allocations: 1.059 MB / 1.376 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.139, allocations: 94.67 kB / 1.377 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/1.14, allocations: 135.9 kB / 1.377 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/1.146, allocations: 2.205 MB / 1.379 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/1.146, allocations: 0 / 1.379 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/1.147, allocations: 60 kB / 1.379 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/1.147, allocations: 36 kB / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009146/1.156, allocations: 2.964 MB / 1.382 GB, free: 9.844 MB / 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.01157/1.167, allocations: 5.365 MB / 1.387 GB, free: 4.328 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009229/1.177, allocations: 2.884 MB / 1.39 GB, free: 1.438 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/1.18, allocations: 1.125 MB / 1.391 GB, free: 316 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/1.181, allocations: 0.6066 MB / 1.392 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/1.186, allocations: 1.454 MB / 1.393 GB, free: 14.1 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 4.008e-06/1.186, allocations: 0 / 1.393 GB, free: 14.1 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01316/1.199, allocations: 3.621 MB / 1.397 GB, free: 10.45 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.199, allocations: 197.2 kB / 1.397 GB, free: 10.21 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/1.201, allocations: 0.8216 MB / 1.398 GB, free: 9.375 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.201, allocations: 49.7 kB / 1.398 GB, free: 9.32 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/1.201, allocations: 0.5123 MB / 1.398 GB, free: 8.801 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/1.202, allocations: 437.7 kB / 1.399 GB, free: 8.367 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/1.203, allocations: 254.6 kB / 1.399 GB, free: 8.113 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.203, allocations: 353.9 kB / 1.399 GB, free: 7.762 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/1.206, allocations: 1.037 MB / 1.4 GB, free: 6.723 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/1.21, allocations: 1.179 MB / 1.401 GB, free: 5.516 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/1.217, allocations: 2.044 MB / 1.403 GB, free: 3.453 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.217, allocations: 0 / 1.403 GB, free: 3.453 MB / 1.123 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008566/1.225, allocations: 2.436 MB / 1.406 GB, free: 1.004 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.225, allocations: 4 kB / 1.406 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.225, allocations: 7.984 kB / 1.406 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/1.226, allocations: 84.83 kB / 1.406 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/1.229, allocations: 419.3 kB / 1.406 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.231, allocations: 1.642 MB / 1.408 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/1.234, allocations: 282.8 kB / 1.408 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/1.234, allocations: 67.92 kB / 1.408 GB, free: 14.36 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: 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.001157/1.235, allocations: 351.2 kB / 1.408 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/1.236, allocations: 118.5 kB / 1.409 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009886/1.246, allocations: 2.872 MB / 1.411 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/1.246, allocations: 12 kB / 1.411 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.246, allocations: 4 kB / 1.411 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.246, allocations: 11.92 kB / 1.411 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/1.249, allocations: 1.808 MB / 1.413 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.249, allocations: 0 / 1.413 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.251, allocations: 411.4 kB / 1.413 GB, free: 8.715 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/1.252, allocations: 80.72 kB / 1.414 GB, free: 8.633 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.252, allocations: 47.94 kB / 1.414 GB, free: 8.586 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.254, allocations: 1.681 MB / 1.415 GB, free: 6.762 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.254, allocations: 0 / 1.415 GB, free: 6.762 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008542/1.263, allocations: 2.58 MB / 1.418 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.264, allocations: 471.1 kB / 1.418 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/1.264, allocations: 35.88 kB / 1.418 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.267, allocations: 225.8 kB / 1.418 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.267, allocations: 101.2 kB / 1.419 GB, free: 3.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.267, allocations: 71.92 kB / 1.419 GB, free: 3.254 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009384/1.268, allocations: 0.581 MB / 1.419 GB, free: 2.676 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 1.419 GB, free: 2.676 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001571/1.27, allocations: 0.5029 MB / 1.42 GB, free: 2.172 MB / 1.139 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.01027/1.28, allocations: 3.668 MB / 1.423 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00827/1.288, allocations: 2.496 MB / 1.426 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.288, allocations: 0 / 1.426 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/1.293, allocations: 1.4 MB / 1.427 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.295, allocations: 356.4 kB / 1.427 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/1.328, allocations: 12.72 MB / 1.44 GB, free: 13.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009935/1.329, allocations: 1.192 MB / 1.441 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001902/1.331, allocations: 485.5 kB / 1.441 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.332, allocations: 0.5851 MB / 1.442 GB, free: 11.25 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/1.332, allocations: 0 / 1.442 GB, free: 11.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08603/1.418, allocations: 33.93 MB / 1.475 GB, free: 9.633 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.92, allocations: 4 kB / 1.475 GB, free: 9.629 MB / 1.201 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