Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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.00118/0.00118, allocations: 120 kB / 17.17 MB, free: 5.977 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.00126/0.00126, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.371/1.371, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.827/2.827, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",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.001917/0.001917, allocations: 72.17 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8259, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00535/0.8312, allocations: 5.893 MB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1794/1.011, allocations: 154.7 MB / 1.478 GB, free: 3.004 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009521/1.012, allocations: 29.53 kB / 1.478 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/1.012, allocations: 232.3 kB / 1.479 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/1.014, allocations: 0.673 MB / 1.479 GB, free: 2.27 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/1.016, allocations: 0.9948 MB / 1.48 GB, free: 1.516 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00237/1.019, allocations: 1.92 MB / 1.482 GB, free: 344 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/1.02, allocations: 0.5295 MB / 1.483 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009694/1.021, allocations: 0.708 MB / 1.483 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/1.021, allocations: 0.7521 MB / 1.484 GB, free: 15 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/1.022, allocations: 165.3 kB / 1.484 GB, free: 15 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/1.023, allocations: 0.6894 MB / 1.485 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003978/1.023, allocations: 449.8 kB / 1.485 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007111/1.024, allocations: 0.7801 MB / 1.486 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/1.027, allocations: 2.266 MB / 1.488 GB, free: 12.19 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.027, allocations: 0 / 1.488 GB, free: 12.19 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.322e-06/1.027, allocations: 8.969 kB / 1.488 GB, free: 12.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.83e-05/1.027, allocations: 0 / 1.488 GB, free: 12.18 MB / 1.17 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.003505/1.03, allocations: 1.896 MB / 1.49 GB, free: 10.72 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.03, allocations: 14.08 kB / 1.49 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.596e-05/1.03, allocations: 40.42 kB / 1.49 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/1.031, allocations: 184.5 kB / 1.49 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.041, allocations: 1.375 MB / 1.492 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.043, allocations: 0.994 MB / 1.493 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/1.043, allocations: 88.55 kB / 1.493 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/1.043, allocations: 119.7 kB / 1.493 GB, free: 9.043 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/1.048, allocations: 2.036 MB / 1.495 GB, free: 7.664 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.048, allocations: 0 / 1.495 GB, free: 7.664 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/1.049, allocations: 52 kB / 1.495 GB, free: 7.613 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.049, allocations: 32 kB / 1.495 GB, free: 7.582 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007982/1.057, allocations: 2.764 MB / 1.498 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009262/1.066, allocations: 4.822 MB / 1.502 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008322/1.074, allocations: 2.657 MB / 1.505 GB, free: 13.13 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/1.077, allocations: 0.9911 MB / 1.506 GB, free: 12.14 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005936/1.078, allocations: 0.6062 MB / 1.506 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003738/1.082, allocations: 1.36 MB / 1.508 GB, free: 10.02 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 2.685e-06/1.082, allocations: 0 / 1.508 GB, free: 10.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01173/1.093, allocations: 3.391 MB / 1.511 GB, free: 6.605 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.094, allocations: 193.2 kB / 1.511 GB, free: 6.371 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.095, allocations: 0.7943 MB / 1.512 GB, free: 5.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/1.095, allocations: 53.7 kB / 1.512 GB, free: 5.512 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/1.095, allocations: 493.7 kB / 1.513 GB, free: 5.023 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/1.096, allocations: 464.1 kB / 1.513 GB, free: 4.566 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/1.096, allocations: 246.8 kB / 1.513 GB, free: 4.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.096, allocations: 349.9 kB / 1.514 GB, free: 3.973 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/1.1, allocations: 0.947 MB / 1.515 GB, free: 3.023 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/1.103, allocations: 1.097 MB / 1.516 GB, free: 1.895 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006502/1.11, allocations: 1.899 MB / 1.517 GB, free: 15.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.11, allocations: 8.062 kB / 1.517 GB, free: 15.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007853/1.118, allocations: 2.277 MB / 1.52 GB, free: 13.68 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.118, allocations: 11.98 kB / 1.52 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.118, allocations: 3.938 kB / 1.52 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/1.118, allocations: 84.84 kB / 1.52 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.121, allocations: 427.2 kB / 1.52 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.123, allocations: 1.646 MB / 1.522 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/1.125, allocations: 279 kB / 1.522 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.125, allocations: 59.94 kB / 1.522 GB, free: 11.04 MB / 1.201 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 (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 (142): * Single equations (assignments): 141 * 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.0007428/1.126, allocations: 331.2 kB / 1.522 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/1.127, allocations: 119.2 kB / 1.523 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008648/1.135, allocations: 2.723 MB / 1.525 GB, free: 7.852 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.135, allocations: 15.98 kB / 1.525 GB, free: 7.836 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.135, allocations: 4 kB / 1.525 GB, free: 7.832 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.135, allocations: 7.984 kB / 1.525 GB, free: 7.824 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.146, allocations: 4.342 MB / 1.529 GB, free: 3.418 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.146, allocations: 0 / 1.529 GB, free: 3.418 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.148, allocations: 411.4 kB / 1.53 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/1.149, allocations: 72.78 kB / 1.53 GB, free: 2.941 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.149, allocations: 55.92 kB / 1.53 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.151, allocations: 1.662 MB / 1.532 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.151, allocations: 3.938 kB / 1.532 GB, free: 1.074 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007987/1.159, allocations: 2.498 MB / 1.534 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/1.16, allocations: 439.7 kB / 1.534 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/1.16, allocations: 31.94 kB / 1.535 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.162, allocations: 231.7 kB / 1.535 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.162, allocations: 109 kB / 1.535 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.162, allocations: 63.94 kB / 1.535 GB, free: 13.68 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008236/1.163, allocations: 0.5771 MB / 1.535 GB, free: 13.11 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.163, allocations: 0 / 1.535 GB, free: 13.11 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001364/1.165, allocations: 0.4912 MB / 1.536 GB, free: 12.61 MB / 1.217 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.0102/1.175, allocations: 3.602 MB / 1.539 GB, free: 9.164 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007441/1.182, allocations: 2.277 MB / 1.542 GB, free: 6.875 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.182, allocations: 4 kB / 1.542 GB, free: 6.871 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003871/1.186, allocations: 1.263 MB / 1.543 GB, free: 5.594 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.188, allocations: 327.9 kB / 1.543 GB, free: 5.289 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.218, allocations: 12.1 MB / 1.555 GB, free: 9.027 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/1.219, allocations: 1.164 MB / 1.556 GB, free: 7.836 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001614/1.22, allocations: 489.3 kB / 1.557 GB, free: 7.355 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.221, allocations: 0.5539 MB / 1.557 GB, free: 6.801 MB / 1.232 GB Notification: Performance of SimCode: time 7.12e-07/1.221, allocations: 0 / 1.557 GB, free: 6.801 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/1.288, allocations: 32.23 MB / 1.589 GB, free: 6.852 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.62, allocations: 12.05 kB / 1.589 GB, free: 6.84 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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: 21.877163027995266]