Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.974/2.974, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.28 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008696/0.3792, allocations: 5.61 MB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1919/0.5711, allocations: 133.6 MB / 1.418 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.5725, allocations: 27.81 kB / 1.418 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.5735, allocations: 253.6 kB / 1.419 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.5763, allocations: 0.7187 MB / 1.419 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.5793, allocations: 1.018 MB / 1.42 GB, free: 14.78 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.5824, allocations: 2.08 MB / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.5837, allocations: 0.541 MB / 1.423 GB, free: 12.12 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.5851, allocations: 0.7788 MB / 1.424 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.5865, allocations: 0.7312 MB / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.5869, allocations: 192 kB / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.5885, allocations: 0.683 MB / 1.425 GB, free: 9.73 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.589, allocations: 490.6 kB / 1.426 GB, free: 9.25 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008407/0.5898, allocations: 0.7 MB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.5932, allocations: 2.547 MB / 1.429 GB, free: 5.992 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5932, allocations: 4 kB / 1.429 GB, free: 5.988 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5932, allocations: 4 kB / 1.429 GB, free: 5.984 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.897e-05/0.5933, allocations: 0 / 1.429 GB, free: 5.984 MB / 1.123 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.003923/0.5972, allocations: 1.917 MB / 1.431 GB, free: 4.02 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5972, allocations: 8.031 kB / 1.431 GB, free: 4.012 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002629/0.5975, allocations: 202.7 kB / 1.431 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.6077, allocations: 1.377 MB / 1.432 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.6103, allocations: 1.003 MB / 1.433 GB, free: 1.391 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.6104, allocations: 102.7 kB / 1.433 GB, free: 1.289 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.6107, allocations: 128 kB / 1.434 GB, free: 1.164 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.617, allocations: 2.464 MB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.617, allocations: 0 / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.6172, allocations: 56 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.6172, allocations: 32 kB / 1.436 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008584/0.6258, allocations: 2.921 MB / 1.439 GB, free: 11.56 MB / 1.139 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.01061/0.6364, allocations: 4.507 MB / 1.443 GB, free: 6.977 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008834/0.6452, allocations: 2.784 MB / 1.446 GB, free: 4.191 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.6488, allocations: 1.082 MB / 1.447 GB, free: 3.105 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.6491, allocations: 77.23 kB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004175/0.6533, allocations: 1.554 MB / 1.449 GB, free: 1.43 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 3.496e-06/0.6533, allocations: 0 / 1.449 GB, free: 1.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=133): time 0.01247/0.6658, allocations: 3.562 MB / 1.452 GB, free: 13.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6659, allocations: 193.2 kB / 1.452 GB, free: 13.62 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.6673, allocations: 0.8452 MB / 1.453 GB, free: 12.77 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.6675, allocations: 53.7 kB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000524/0.668, allocations: 0.525 MB / 1.454 GB, free: 12.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.6686, allocations: 452.3 kB / 1.454 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/0.6691, allocations: 254.8 kB / 1.454 GB, free: 11.48 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6693, allocations: 353.9 kB / 1.455 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.6727, allocations: 1.033 MB / 1.456 GB, free: 10.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.6763, allocations: 1.333 MB / 1.457 GB, free: 8.691 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006773/0.6831, allocations: 2.044 MB / 1.459 GB, free: 6.629 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.6831, allocations: 8 kB / 1.459 GB, free: 6.621 MB / 1.154 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008368/0.6915, allocations: 2.433 MB / 1.461 GB, free: 4.176 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.6915, allocations: 9.875 kB / 1.461 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6915, allocations: 7.984 kB / 1.461 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.6922, allocations: 88.83 kB / 1.462 GB, free: 4.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.6947, allocations: 415.3 kB / 1.462 GB, free: 3.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.697, allocations: 1.542 MB / 1.463 GB, free: 2.004 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.6995, allocations: 279 kB / 1.464 GB, free: 1.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.6996, allocations: 63.92 kB / 1.464 GB, free: 1.668 MB / 1.154 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.0008578/0.7005, allocations: 355.5 kB / 1.464 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.7008, allocations: 127.1 kB / 1.464 GB, free: 1.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.7099, allocations: 2.884 MB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.7099, allocations: 16 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7099, allocations: 0 / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.7099, allocations: 7.969 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.7124, allocations: 1.476 MB / 1.468 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7124, allocations: 3.938 kB / 1.468 GB, free: 12.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/0.7149, allocations: 411.3 kB / 1.469 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.7154, allocations: 76.78 kB / 1.469 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.7156, allocations: 51.94 kB / 1.469 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.7179, allocations: 1.555 MB / 1.471 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7179, allocations: 3.984 kB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/0.7266, allocations: 2.588 MB / 1.473 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.7279, allocations: 394.6 kB / 1.473 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.7282, allocations: 35.94 kB / 1.473 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.7303, allocations: 223.7 kB / 1.474 GB, free: 7.277 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.7305, allocations: 117.1 kB / 1.474 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/0.7307, allocations: 67.94 kB / 1.474 GB, free: 7.098 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001001/0.7317, allocations: 0.6044 MB / 1.474 GB, free: 6.496 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7317, allocations: 0 / 1.474 GB, free: 6.496 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001507/0.7332, allocations: 0.5106 MB / 1.475 GB, free: 5.984 MB / 1.17 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.0117/0.7449, allocations: 3.723 MB / 1.479 GB, free: 2.445 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00862/0.7535, allocations: 2.442 MB / 1.481 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.7536, allocations: 4 kB / 1.481 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004528/0.7581, allocations: 1.349 MB / 1.482 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.7599, allocations: 344.2 kB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/0.7957, allocations: 12.84 MB / 1.495 GB, free: 1.297 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.7965, allocations: 0.6043 MB / 1.496 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001951/0.7985, allocations: 0.4898 MB / 1.496 GB, free: 172 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/0.7997, allocations: 0.5929 MB / 1.497 GB, free: 15.57 MB / 1.201 GB Notification: Performance of SimCode: time 1.373e-06/0.7997, allocations: 0 / 1.497 GB, free: 15.57 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.9181, allocations: 35.96 MB / 1.532 GB, free: 11.98 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.87, allocations: 7.438 kB / 1.532 GB, free: 11.97 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.182530301157385]